Re: LogBack Support : Adding an appender without changing the log level

2013-09-16 Thread Carsten Ziegeler
As an OSGi service, if I don't specify a log level, it's defaulted to INFO
and thus changes the log level to INFO.
I think it should be possible to just add an appender

Carsten


2013/9/8 Chetan Mehrotra chetan.mehro...@gmail.com

 How are you trying to add an additional appender. Via configuration or
 dynamically as OSGi service [1]?

 [1]
 https://github.com/chetanmeh/sling-logback#appenders-and-whiteboard-pattern
 Chetan Mehrotra


 On Fri, Sep 6, 2013 at 9:34 PM, Carsten Ziegeler cziege...@apache.org
 wrote:
  Hi,
 
  I'm having a look at the new logging support for logback appenders and it
  seems that I can only attach an Appender to a logger if I specify a log
  level as well.
  I have a use case where I just want to add an additional Appender to a
  logger - without influencing the log level. Is that possible?
 
  Regards
  Carsten
  --
  Carsten Ziegeler
  cziege...@apache.org




-- 
Carsten Ziegeler
cziege...@apache.org


Re: LogBack Support : Adding an appender without changing the log level

2013-09-16 Thread Chetan Mehrotra
I think it should be possible to just add an appender

Makes sense. Opened SLING-3069 for that
Chetan Mehrotra


On Mon, Sep 16, 2013 at 12:06 PM, Carsten Ziegeler cziege...@apache.org wrote:
 As an OSGi service, if I don't specify a log level, it's defaulted to INFO
 and thus changes the log level to INFO.
 I think it should be possible to just add an appender

 Carsten


 2013/9/8 Chetan Mehrotra chetan.mehro...@gmail.com

 How are you trying to add an additional appender. Via configuration or
 dynamically as OSGi service [1]?

 [1]
 https://github.com/chetanmeh/sling-logback#appenders-and-whiteboard-pattern
 Chetan Mehrotra


 On Fri, Sep 6, 2013 at 9:34 PM, Carsten Ziegeler cziege...@apache.org
 wrote:
  Hi,
 
  I'm having a look at the new logging support for logback appenders and it
  seems that I can only attach an Appender to a logger if I specify a log
  level as well.
  I have a use case where I just want to add an additional Appender to a
  logger - without influencing the log level. Is that possible?
 
  Regards
  Carsten
  --
  Carsten Ziegeler
  cziege...@apache.org




 --
 Carsten Ziegeler
 cziege...@apache.org


Re: LogBack Support : Adding an appender without changing the log level

2013-09-07 Thread Chetan Mehrotra
How are you trying to add an additional appender. Via configuration or
dynamically as OSGi service [1]?

[1] https://github.com/chetanmeh/sling-logback#appenders-and-whiteboard-pattern
Chetan Mehrotra


On Fri, Sep 6, 2013 at 9:34 PM, Carsten Ziegeler cziege...@apache.org wrote:
 Hi,

 I'm having a look at the new logging support for logback appenders and it
 seems that I can only attach an Appender to a logger if I specify a log
 level as well.
 I have a use case where I just want to add an additional Appender to a
 logger - without influencing the log level. Is that possible?

 Regards
 Carsten
 --
 Carsten Ziegeler
 cziege...@apache.org


LogBack Support : Adding an appender without changing the log level

2013-09-06 Thread Carsten Ziegeler
Hi,

I'm having a look at the new logging support for logback appenders and it
seems that I can only attach an Appender to a logger if I specify a log
level as well.
I have a use case where I just want to add an additional Appender to a
logger - without influencing the log level. Is that possible?

Regards
Carsten
-- 
Carsten Ziegeler
cziege...@apache.org