sdoca wrote: > > I have an ear file deployed to Glassfish (v.3.1.1) and cannot get the > logback.xml to be loaded. I have bundled it in the ear in the META-INF > directory. Where should it be located? >
See http://hwellmann.blogspot.de/2010/05/glassfish-logging-with-slf4j.html for global configuration. Using Maven for each EAR you can deploy the logback.xml within. It has to be under ~/{project}/src/main/resources. I use JoranConfigurator to load/configure it for each EAR. -- View this message in context: http://old.nabble.com/How-to-load-logback.xml-from-ear--tp33696845p33699321.html Sent from the Logback User mailing list archive at Nabble.com. _______________________________________________ Logback-user mailing list [email protected] http://mailman.qos.ch/mailman/listinfo/logback-user
