Thanks Ceki,

  I'll update my code to use the status manager.

Regards,

Paul


On Mon, Oct 24, 2011 at 3:05 PM, ceki <c...@qos.ch> wrote:

> Hi Paul,
>
> Logback components should use the status manager for their internal
> logging.
>
> 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>
> --
> Ceki
>
> On 24/10/2011 6:36 PM, Paul Gifford wrote:
>
>> Ceki,
>>   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.
>> Paul
>>
>>
>  ______________________________**_________________
> Logback-user mailing list
> Logback-user@qos.ch
> http://mailman.qos.ch/mailman/**listinfo/logback-user<http://mailman.qos.ch/mailman/listinfo/logback-user>
>
_______________________________________________
Logback-user mailing list
Logback-user@qos.ch
http://mailman.qos.ch/mailman/listinfo/logback-user

Reply via email to