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
When I switch the log level of the Spring Framework to DEBUG, I find that the beans related to logbook are correctly loaded.
2024-09-18 13:57:51.644 [][] DEBUG o.s.b.f.s.DefaultListableBeanFactory:225 - Creating shared instance of singleton bean 'logbookFilter'
2024-09-18 13:57:51.644 [][] DEBUG o.s.b.f.s.DefaultListableBeanFactory:225 - Creating shared instance of singleton bean 'org.zalando.logbook.autoconfigure.LogbookAutoConfiguration$JakartaServletFilterConfiguration'
2024-09-18 13:57:51.645 [][] DEBUG o.s.b.f.s.DefaultListableBeanFactory:225 - Creating shared instance of singleton bean 'logbook-org.zalando.logbook.autoconfigure.LogbookProperties'
2024-09-18 13:57:51.647 [][] DEBUG o.s.b.f.s.DefaultListableBeanFactory:945 - Autowiring by type from bean name 'org.zalando.logbook.autoconfigure.LogbookAutoConfiguration$JakartaServletFilterConfiguration' via constructor to bean named 'logbook-org.zalando.logbook.autoconfigure.LogbookProperties'
2024-09-18 13:57:51.648 [][] DEBUG o.s.b.f.s.DefaultListableBeanFactory:225 - Creating shared instance of singleton bean 'logbook'
2024-09-18 13:57:51.648 [][] DEBUG o.s.b.f.s.DefaultListableBeanFactory:225 - Creating shared instance of singleton bean 'org.zalando.logbook.autoconfigure.LogbookAutoConfiguration'
2024-09-18 13:57:51.648 [][] DEBUG o.s.b.f.s.DefaultListableBeanFactory:945 - Autowiring by type from bean name 'org.zalando.logbook.autoconfigure.LogbookAutoConfiguration' via constructor to bean named 'logbook-org.zalando.logbook.autoconfigure.LogbookProperties'
Expectation
I believe this issue isn't necessarily a bug, but rather a potential oversight on my part during usage. I've consulted numerous minimal demos and official documentation, yet I haven't been able to find a solution. My expectation is for the request log to be correctly outputted to the console.
The text was updated successfully, but these errors were encountered:
I used SpringBoot to automatically configure the Starter and did not observe the expected default logs.
Description
According to the documentation, I imported the following dependencies (version=3.9.0)
The SpringBoot version I am using is 3.2.5
The following is my SpringBoot default configuration file application.yaml
The following is my
logback-dev
configuration fileWhen I switch the log level of the Spring Framework to DEBUG, I find that the beans related to logbook are correctly loaded.
Expectation
I believe this issue isn't necessarily a bug, but rather a potential oversight on my part during usage. I've consulted numerous minimal demos and official documentation, yet I haven't been able to find a solution. My expectation is for the request log to be correctly outputted to the console.
The text was updated successfully, but these errors were encountered: