Skip to content

RTDEB-61940 - Support debug mode and improve logging - #293

Merged
RemiBou merged 1 commit into
jfrog:masterfrom
selalererjfrog:feature/RTDEV-61940
Aug 21, 2025
Merged

RTDEB-61940 - Support debug mode and improve logging#293
RemiBou merged 1 commit into
jfrog:masterfrom
selalererjfrog:feature/RTDEV-61940

Conversation

@selalererjfrog

@selalererjfrog selalererjfrog commented Aug 13, 2025

Copy link
Copy Markdown
Contributor
  • [v] All tests passed. If this feature is not already covered by the tests, I added new tests.
  • [v] I used npm run format for formatting the code before submitting the pull request.

Comment thread lib/utils.js
}
static setCliEnv() {
var _a, _b, _c, _d, _e;
if (core.isDebug()) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

i think we can add another check that JFROG_CLI_LOG_LEVEL was not already configured by the user.
if for some case user put JFROG_CLI_LOG_LEVEL=ERROR in his environment we need to respect that

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

We're using the exportVariableIfNotSet() that does that. We don't override user explicit environment variables

@github-actions

Copy link
Copy Markdown

👍 Frogbot scanned this pull request and did not find any new security issues.


@RemiBou
RemiBou merged commit 810aca0 into jfrog:master Aug 21, 2025
11 checks passed
@selalererjfrog
selalererjfrog deleted the feature/RTDEV-61940 branch August 25, 2025 10:43
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