Hi guys,

I'm looking for a full replacement to Logback in WildFly. I already added
modules remove another ones and disabled log manager.
Also I defined a default logback.xml and set it by property
logback.configurationFile

I was looking to work with JNDI context selector but as I see Loggers
created from modules are attached to default LoggerContext and still after
reuse from application classes

My application logs works with the right contextSelector and
consequentially the right appenders.
But when I call some logger from modules, for example a query
(SqlStatementLogger), its loggers are attached with default LoggerContext
what selects the default appenders not application ones

Is there a way to Logger dynamic select another context after it has been
created?
Has anyone made this work (as a full replacement)?
_______________________________________________
Logback-user mailing list
[email protected]
http://mailman.qos.ch/mailman/listinfo/logback-user

Reply via email to