Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
None
-
None
-
None
-
Java 7, Tomcat
Description
In the Logback manual, it is said in the automatic reconfiguration page: http://logback.qos.ch/manual/configuration.html#autoScan
That the configuration will be reloaded every "N" times, and that this is done with a default value of 16.
Looking at the source code for ReconfigureOnChangeFilter, there is no way to set this "N", although the documentation claims otherwise.
This means this functionality is useless for testing, which is my use case, as I must generate a bunch of bogus calls in order to get the filter to trigger the reload.
For testing, there should be a way to turn off this rate limiting reloading entirely, if it is useless and inappropriate, as in my case.