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
{{ message }}
Repository navigation
[Enhancement] reduce log spam from the batch-module #543
I noticed that when I upgraded to >=v8.11.1, the logs are getting flooded with messages when I run the backend server locally.
I found out that the log statement is from bbottema/generic-object-pool#8, which is used in #529.
15:44:01.147 [pool-1-thread-2|org.bbottema.genericobjectpool.GenericObjectPool] DEBUG - 0 objects invalidated as per expiration policy!
15:44:01.157 [pool-1-thread-2|org.bbottema.genericobjectpool.GenericObjectPool] DEBUG - 0 objects invalidated as per expiration policy!
15:44:01.167 [pool-1-thread-2|org.bbottema.genericobjectpool.GenericObjectPool] DEBUG - 0 objects invalidated as per expiration policy!
15:44:01.177 [pool-1-thread-2|org.bbottema.genericobjectpool.GenericObjectPool] DEBUG - 0 objects invalidated as per expiration policy!
15:44:01.188 [pool-1-thread-2|org.bbottema.genericobjectpool.GenericObjectPool] DEBUG - 0 objects invalidated as per expiration policy!
15:44:01.198 [pool-1-thread-2|org.bbottema.genericobjectpool.GenericObjectPool] DEBUG - 0 objects invalidated as per expiration policy!
I don't think there's anything I need to change to stop the log statements without removing the logging for this library in my project.
Well, I think it's good to tweak it so it only logs if there are actual objects invalidated and also perhaps make it TRACE level. Having said that, wouldn't it make sense for you to set the debug level to INFO for org.bbottema.genericobjectpool?
changed the title [-]Spammed debug statements "objects invalidated as per expiration policy!"[/-][+][Enhancement] reduce log spam from the batch-module[/+]on Sep 15, 2024
Activity
bbottema commentedon Sep 15, 2024
Well, I think it's good to tweak it so it only logs if there are actual objects invalidated and also perhaps make it TRACE level. Having said that, wouldn't it make sense for you to set the debug level to INFO for
org.bbottema.genericobjectpool?#543: update smtp-connection-pool dep, which reduces log spam
#543: update Spring version in spring-module which solves vulnerabili…
[-]Spammed debug statements "objects invalidated as per expiration policy!"[/-][+][Enhancement] reduce log spam from the batch-module[/+]bbottema commentedon Sep 15, 2024
Released tweak in 8.11.3
InteractiveNinja commentedon Sep 18, 2024
Thank you kindly for the fast change 👍