isnt it just that logback doesnt handle hierarchic classloaders?
Romain Manni-Bucau @rmannibucau <https://twitter.com/rmannibucau> | Blog <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> | LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber <http://www.tomitribe.com> 2015-05-14 19:22 GMT+02:00 hwaastad <[email protected]>: > Hi Romain and thx for testing it out. > > well, in tomee/lib/logback.xml pattern is: > > <pattern>%d{HH:mm:ss.SSS} TomEE [%thread] %highlight(%-5level) %logger{50} > - > %msg%n</pattern> > > in web-inf/classes/logback.xml I've defined: > > <pattern>%d{HH:mm:ss.SSS} ENTERPRISE-WEB [%thread] %-5level %logger{50} - > %msg%n</pattern> > > However logging shows: > 19:21:35.007 TomEE [EjbTimerPool - 2] WARN org.waastad.WebScheduler - > Logging warn > > Which is the pattern from the tomee/lib/logback.xml > > I was hoping the logback.xml in webapp would be used. > > br hw > > > > > -- > View this message in context: > http://tomee-openejb.979440.n4.nabble.com/TomEE-Ear-Logback-revisit-tp4674809p4674813.html > Sent from the TomEE Users mailing list archive at Nabble.com. >
