Feat/dx 2951 v2 logger integration#2008
Merged
aman19K merged 84 commits intodevelopmentfrom Jul 23, 2025
Merged
Conversation
…gration-export feat: integrated v2Logger in export plugin
feat: Integrated Logger and cliErrorHandler in auth plugin
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
feat: Added Support for config get & config set for Logging Configuration
feat: added log config support in utilities
feat:added debug log in export, variant(export) & auth plugin
Contributor
There was a problem hiding this comment.
Pull Request Overview
This pull request introduces comprehensive v2 logger integration across the Contentstack CLI ecosystem, implementing structured logging with context tracking and enhanced error handling throughout multiple packages.
- Enhanced logger with configurable levels, file/console output, and comprehensive error classification
- Updated dependencies to support the new v2 logger and logging configuration commands
- Integrated structured logging with context tracking across contentstack-variants and contentstack-import packages
Reviewed Changes
Copilot reviewed 131 out of 133 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
| packages/contentstack/package.json | Updated CLI dependencies to newer versions supporting v2 logger |
| packages/contentstack/README.md | Added new config commands for log level and path configuration |
| packages/contentstack-variants/ | Comprehensive v2 logger integration with context tracking |
| packages/contentstack-utilities/ | Enhanced Logger class with improved error handling and configuration |
| packages/contentstack-import/ | Migrated from legacy logging to v2 logger with structured context |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
Comments suppressed due to low confidence (1)
packages/contentstack-utilities/src/logger/logger.ts:5
- [nitpick] The import name
levelColorsshould belogLevelColorsto be more descriptive and consistent with naming conventions.
import { levelColors, logLevels } from '../constants/logging';
packages/contentstack-utilities/src/logger/cli-error-handler.ts
Outdated
Show resolved
Hide resolved
shafeeqd959
reviewed
Jul 18, 2025
cs-raj
previously approved these changes
Jul 18, 2025
naman-contentstack
approved these changes
Jul 23, 2025
cs-raj
approved these changes
Jul 23, 2025
netrajpatel
approved these changes
Jul 23, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.