Skip to content

Conversation

@aman19K
Copy link
Contributor

@aman19K aman19K commented Jul 30, 2025

This PR fixes default log storage issues by improving the logging path resolution logic and updating package dependencies.

Enhanced log path resolution with a fallback hierarchy (environment variable → user config → current working directory → home directory)
Updated CLI utilities package version from 1.13.0 to 1.13.1 across all dependent packages

@aman19K aman19K requested a review from a team as a code owner July 30, 2025 07:04
@aman19K aman19K requested review from Copilot and removed request for a team July 30, 2025 07:05
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes default log storage issues by improving the logging path resolution logic and updating package dependencies. The main focus is on making the CLI logging more robust when determining where to store log files.

  • Enhanced log path resolution with a fallback hierarchy (environment variable → user config → current working directory → home directory)
  • Updated CLI utilities package version from 1.13.0 to 1.13.1 across all dependent packages
  • Added new console logging flag to the logging configuration command

Reviewed Changes

Copilot reviewed 30 out of 32 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
packages/contentstack-utilities/src/logger/log.ts Implemented robust log path resolution with proper fallback logic and error handling
packages/contentstack-utilities/package.json Version bump to 1.13.1 to reflect the logging improvements
packages/contentstack/package.json Updated dependencies to use the new utilities version
packages/contentstack-auth/src/commands/auth/whoami.ts Removed redundant log statement in whoami command
Multiple package.json files Updated CLI utilities dependency references to version 1.13.1
Multiple README.md files Updated documentation to reflect new logging options and version changes
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

@aman19K aman19K merged commit 87cc721 into development Jul 30, 2025
10 checks passed
@aman19K aman19K deleted the fix/DX-3323 branch July 30, 2025 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants