On 16.11.2011 18:55, ralph.goers @dslextreme.com wrote:
Actually, recursion isn't really a problem and is pretty easy to handle.
The problem is that you are in the middle of configuring your logging
system and trying to log, so what is supposed to happen to the log
event? The components to process it aren't fully in place yet. Ceki
handles that by detecting the attempt to create the logger and
generating a nastygram.
Ralph
Any recursive call made to a given appender is simply ignored. No
exceptions whatsoever will be thrown. Thus, although not recommended,
appenders *can* make logging calls. However, the recommended approach
for internal logging (messages generated by logback components) is via
the StatusManager.
HTH,
--
Ceki
_______________________________________________
Logback-user mailing list
[email protected]
http://mailman.qos.ch/mailman/listinfo/logback-user