[logback-user] logback cannot load configuration from a jar running as an applet

Andriy Tylychko andriy.tylychko at gmail.com
Fri Jul 6 12:22:16 CEST 2012


I have a weird issue with logback configuration. My project is packet into
jar files, server side and client side. Client side is run as an applet in
a browser. Server side works fine, but client cannot find its configuration
file (I believe so).

My custom configuration doesn't work. I set log level to INFO in the
configuration file logback.xml which is in the root folder of the jar, but
still see DEBUG logs in Java console.

Logback's internal info:

11:20:08,924 |-INFO in ch.qos.logback.classic.LoggerContext[default] -
Could NOT find resource [logback.groovy]
11:20:08,982 |-INFO in ch.qos.logback.classic.LoggerContext[default] -
Could NOT find resource [logback-test.xml]
11:20:09,042 |-INFO in ch.qos.logback.classic.LoggerContext[default] -
Could NOT find resource [logback.xml]

Seems like this is somehow related with my applet, or any applet.

More info here:
http://stackoverflow.com/questions/11343311/logback-configuration-is-not-seen-in-applet

Please help.

Thank you,
Andy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/logback-user/attachments/20120706/0453b463/attachment.html>


More information about the Logback-user mailing list