You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I am new to Java Spring Boot and Zalando Logbook and I am not sure if this is the place to post this. I am trying to change the log level of the logger to log at the DEBUG level. However, changing the log level in application.properties to logging.level.org.zalando.logbook: DEBUG the logs do not get recorded in my log file. I see that in the Logger section of the README it says the logger can be customized through:
Logbook logbook = Logbook.builder()
.sink(new DefaultSink(
new DefaultHttpLogFormatter(),
new DefaultHttpLogWriter()
))
.build();
but I am not sure where to go from there.
Is it possible to change the log level of the logger? If so, how would I be able to do this?
Thank you in advance!
The text was updated successfully, but these errors were encountered:
Hello, I am new to Java Spring Boot and Zalando Logbook and I am not sure if this is the place to post this. I am trying to change the log level of the logger to log at the DEBUG level. However, changing the log level in application.properties to logging.level.org.zalando.logbook: DEBUG the logs do not get recorded in my log file. I see that in the Logger section of the README it says the logger can be customized through:
Logbook logbook = Logbook.builder()
.sink(new DefaultSink(
new DefaultHttpLogFormatter(),
new DefaultHttpLogWriter()
))
.build();
but I am not sure where to go from there.
Is it possible to change the log level of the logger? If so, how would I be able to do this?
Thank you in advance!
The text was updated successfully, but these errors were encountered: