Hi all,
Some days ago I started using LocLogger instead of Logger instances in my application in order to generate localized logging events.
The configuration file I am using contains two MarkerFilters to always enable certain logging requests. For example, the marker filter
<turboFilter class="ch.qos.logback.classic.turbo.MarkerFilter">
<Marker>INFO_LOG</Marker>
<OnMatch>ACCEPT</OnMatch>
<OnMismatch>NEUTRAL</OnMismatch>
</turboFilter>
always enable logging requests marked INFO_LOG. Thanks to it, when using Loggers, logging requests marked INFO_LOG are enabled even when the logger level is set to OFF.
Since I moved from Loggers to LocLoggers these filters stopped working, i.e., it seems that they are not used to determine if a logging request is enabled or not.
With LocLoggers logging requests marked INFO_LOG are disabled when the logger level is set to OFF.
Is this a known issue? Is there a way to solve it?
Cheers,
Dario