stop() and start() on LoggerContext

20 Feb
2013
20 Feb
'13
2:28 p.m.
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
4608
Age (days ago)
4608
Last active (days ago)
0 comments
1 participants
participants (1)
-
Mathieu Stempell