I am working on a spring boot application
with its default logging (console)
While in development i like having it on TRACE so i can see the incoming requests and the filter invocation
but there is a single message from the NioEndpoint that keeps spamming the TRACE logs
Is it possible to suppress only this specific message?
2025-02-14T12:30:33.238-05:00 DEBUG 46328 --- [nio-8080-Poller] org.apache.tomcat.util.net.NioEndpoint : timeout completed: keys processed=0; now=1739554233238; nextExpiration=1739554233223; keyCount=0; hasEvents=false; eval=false
I have tried to set this in my application config
org.apache.tomcat.util.net=INFO
and this
org.apache.tomcat.util.net.NioEndpoint =INFO
It doesn't seem to do anything.
Modify application.properties (If Using Spring Boot Default Logging) Try:
logging.level.org.apache.tomcat.util.net.NioEndpoint=INFO
Or in application.yml:
logging: level: org.apache.tomcat.util.net.NioEndpoint: INFO
This should suppress TRACE messages from NioEndpoint.