Using two separate logback configurations in same app

26 Sep
2008
26 Sep
'08
12:41 p.m.
Hi, My application holds an already initialized slf4j/logback environment. Now at some point in my code I would like to create a logback Logger using a completely different configuration, without inheriting any configuration settings from the logback environment already defined in my app (which was done via logback.xml on the classpath), and also without interfering with the previously created loggers either. I thought the most natural way would be to create my LoggerFactory instance, configure it, and then to create a Logger from there. But that seems not the way how its done in logback. Is what I want possible at all? If yes, how? Thanks! Silvano
6216
Age (days ago)
6216
Last active (days ago)
0 comments
1 participants
participants (1)
-
Silvano Maffeis