Details
-
Bug
-
Resolution: Unresolved
-
Critical
-
None
-
None
-
None
-
Glassfish 3.1 + JDK 1.6.24 - JEE 6 - Ubuntu 11.04 x86_64
Description
Not sure what's going on but the thing is that the log file appender logs everything twice in a EJB project.
I want an EJB jar file with its own log file to be deployed on Glassfish 3.1. I am getting the Classloader and the resource (logback.xml) located in a directory. The URL to logback.xml is loaded up into Joran Configurator sucessfully. There are no configuration errors at all. The EJB starts to log in the file when it is deployed but every log output is twice !!.
The weirdest thing is that if I create an web application, and I load up the configuration using the same approach(Joran Configurator), the logger works perfectly.