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

Does setting the log level to debug enable log output? #1729

Closed
G-Fantastic opened this issue Jan 3, 2024 · 1 comment
Closed

Does setting the log level to debug enable log output? #1729

G-Fantastic opened this issue Jan 3, 2024 · 1 comment

Comments

@G-Fantastic
Copy link

Does setting the log level to debug enable log output? When the level is set to trace, it outputs a lot of other irrelevant log information. I'd like to set the log level to debug. How can I do that?

@kasmarian
Copy link
Member

You just need to specify the trace log level for logbook, but not the whole application.
E.g., if you're using a spring application, you can do this by adding logging.level.org.zalando.logbook: TRACE in the application.yaml/properties file.

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

No branches or pull requests

2 participants