I am trying to deploy a couple of servlets in glassfish . Both work but I just get one of them printing logs in its own file. The other I don't know to to do it.
I followed this tutorial to make it works for one log: http://hwellmann.blogspot.com.es/2010/12/glassfish-logging-with-slf4j-part-2.html
I tried to add logback.xml content from one servlet to the other one so I just have one file, but it doesn't work. I also tried to add a second logback, logback2.xml and add it to jvm options. Also failed...
Any idea? I haven't found anything about this on the internet