[logback-user] I'm getting the "substitute logger" error message yet my appender still works
pggifford at gmail.com
Mon Oct 24 22:17:18 CEST 2011
I'll update my code to use the status manager.
On Mon, Oct 24, 2011 at 3:05 PM, ceki <ceki at qos.ch> wrote:
> Hi Paul,
> Logback components should use the status manager for their internal
> The fact that your custom appender references a logger will not affect
> the way it works except that the log messages originating from within
> your appender or from one of its dependencies will be discarded.
> You have 3 options:
> 1) use the status manager for internal messages
> 2) retrieve loggers anew until a real logger instance is returned (and
> not an NOPLogger)
> 3) place your custom appender in another configuration file as
> explained in http://slf4j.org/codes.html#**substituteLogger<http://slf4j.org/codes.html#substituteLogger>
> On 24/10/2011 6:36 PM, Paul Gifford wrote:
>> I have, many times. That's why I was confused as to why my logger
>> was working as I thought it would be set to the nop logger.
> Logback-user mailing list
> Logback-user at qos.ch
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Logback-user