Re: Change in log level removes appenders attached to async appender

2016-06-03 Thread Chetan Mehrotra
Thanks for the details. Would try to have a look at the issue soon Chetan Mehrotra On Thu, Jun 2, 2016 at 4:17 PM, piyush goyal wrote: > Hi Chetan, > > Thanks for the response. I tried using the work around you referred to. > Eating up stop() call to didn't work. > Next was to define our own Lo

Re: Change in log level removes appenders attached to async appender

2016-06-02 Thread piyush goyal
Hi Chetan, Thanks for the response. I tried using the work around you referred to. Eating up stop() call to didn't work. Next was to define our own LoggerContextListener and onReseting starting the appender and adding it to async appender. This is what I tried to do in the reset method of Listener

Re: Change in log level removes appenders attached to async appender

2016-06-01 Thread Chetan Mehrotra
Looks like a bug in Sling Logback integration. What happens here is that 1. On initial registration of Appender the AppenderTracker in Sling Commons Log would "start" the appender and attach it to logger 2. When you change the log level via global config it kinds of reset the Logback. In reset i

Fwd: Change in log level removes appenders attached to async appender

2016-06-01 Thread piyush goyal
Hi Team, We are trying to writing our custom appenders on top of sling in AEM and referred to documentation . We want to send logs of the configured loggers to redis. For this, we wrote a custom Redis Appen

Fwd: Change in log level removes appenders attached to async appender

2016-06-01 Thread piyush goyal
Hi Team, We are trying to writing our custom appenders on top of sling in AEM and referred to documentation . We want to send logs of the configured loggers to redis. For this, we wrote a custom Redis Appen