[logback-dev] stop() and start() on LoggerContext

Mathieu Stempell dma-sc at gmx.fr
Wed Feb 20 15:28:09 CET 2013


Hello,

When i call start() method on LoggerContext after i called stop(), i doesn't log anything new in the output files :
-----------
 LoggerContext loggerContext = (LoggerContext)LoggerFactory.getILoggerFactory();
 LoggerFactory.getLogger(AbstractTest.class).info("test info before stop"); // logs, ok
 loggerContext.stop();
 LoggerFactory.getLogger(AbstractTest.class).info("test info between stop and start"); // doesn't log, ok
 loggerContext.start();
 LoggerFactory.getLogger(AbstractTest.class).info("test info after start"); // doesn't log, why???
-----------

Is it normal or not?

Thanks in advance for your anwser.

Mathieu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/logback-dev/attachments/20130220/98be4ed5/attachment.html>


More information about the logback-dev mailing list