[logback-user] How to redirect log4j and other to logback ?
David Roussel
nabble at diroussel.xsmail.com
Sat Aug 27 21:14:54 CEST 2011
The logback docs cover redirecting log4j to slf4j.
Are you saying you've written you own slf4j backend?
David
On 26 Aug 2011, at 15:29, BAKHTI Mohammed <onlymed at hotmail.com> wrote:
>
> Hello,
>
> I have an api (jar) where i configure logback appenders and loggers (in code) and add some other functions (mytraceAction()...) which will be used by all my other projects
>
> the idea is to give all projects an api so they have just to getInstance() and log (the functions added are for access and actions trace over JMS appender)
>
> Everything is working well the question is about the other API which use : log4j jcl ... how can i got their log and treat them in my api ? is it possible ?
>
> i tried to use jcl-over-slf4j ... but when they are in my libs i just don't see any other logs then those who use my api (means no spring, hibernate ... logs )
>
> thanks
>
>
> _______________________________________________
> Logback-user mailing list
> Logback-user at qos.ch
> http://qos.ch/mailman/listinfo/logback-user
More information about the Logback-user
mailing list