Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(cmd): fix kong cli not printing some debug level error log #13143

Merged
merged 2 commits into from
Jun 5, 2024

Conversation

windmgc
Copy link
Member

@windmgc windmgc commented Jun 3, 2024

Summary

This PR fixes a problem that running kong CLI command will not print some of the debug level error logs. Those error logs may be triggered by ngx.log before the actual kong.cmd module gets called.

Checklist

  • The Pull Request has tests
  • A changelog file has been created under changelog/unreleased/kong or skip-changelog label added on PR if changelog is unnecessary. README.md
  • There is a user-facing docs PR against https://github.com/Kong/docs.konghq.com - PUT DOCS PR HERE

Issue reference

The issue in this PR was discovered when debugging FTI-5995, but it is not related to the ticket's problem at all.

@windmgc windmgc requested a review from catbro666 June 3, 2024 07:46
@github-actions github-actions bot added the cherry-pick kong-ee schedule this PR for cherry-picking to kong/kong-ee label Jun 3, 2024
Copy link
Contributor

@flrgh flrgh left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@windmgc windmgc force-pushed the fix-cli-cmd-not-printing-debug-msg branch from 713f6e7 to 53a5d80 Compare June 5, 2024 05:26
@windmgc windmgc requested a review from ADD-SP June 5, 2024 05:27
@windmgc windmgc merged commit 4adb677 into master Jun 5, 2024
25 checks passed
@windmgc windmgc deleted the fix-cli-cmd-not-printing-debug-msg branch June 5, 2024 06:23
@team-gateway-bot
Copy link
Collaborator

Successfully created cherry-pick PR for master:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherry-pick kong-ee schedule this PR for cherry-picking to kong/kong-ee size/M
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants