I want to use LogBack with IBM WebSphere 8.5 as a Shared Library. My problem is I don't know where to put the logback.xml so I can redirects some of my logs to different files. Currently all my logs are directed to System.out.log in WAS, which I don't want.
I've tried to put the logback.xml in my Dynamic Application Project WEB-INF/classes folder, in my EJB Project ejbModule folder, with no success.
I've tried googling all over, but I cannot find anything pointing to this issue.
Any idea?
Regards,
I've successfully used SLF4J API with Logback implementation with WAS 7. My configuration was:
And that was it.
Placing logback.xml in a JAR and placing that JAR into your EAR's lib should also work.
Don't you get any logback related errors during application startup?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.