Hi Romain, thank you for the quick response.

Unfortunately I do not have a sample I can share, but I think I am closer to
solving my problem.

1. Yes, I do have slf4j-api in WEB-INF/lib.
2. I just meant to say all of my webapp specific logs were directed to
catalina.out instead of my "app.log" file.


I went back to the bare-bones Tomee install without any configuration
changes and used a .war file with every single dependent library included
(in WEB-INF/lib). This worked perfectly and actually created the "app.log"
file I wanted. Little by little, I changed any and all configuration options
until the logs disappeared.

I believe that separating our dependent libraries (some which are EJB's)
from the webapp is the problem. In order to deploy the EJB's first due to
the dependence the webapp has on them, we added "<Deployments dir="ejbs" />"
so that the "ejbs" directory and all of the ejbs inside of it would be
deployed first. 

Since the webapp and EJB's are not deployed together anymore (required to
separate in order for client ability to update one lib/ejb at a time), it
seems the logback-classic and logback-core jar's that are still in
WEB-INF/lib are never loaded.

If I add the required logback jars in the "ejb" directory, I suspect I will
once again see the "app.log" file created, but it will affect all of the
default, Tomee logs instead of just my webapp, right?



--
View this message in context: 
http://tomee-openejb.979440.n4.nabble.com/Webapp-Logback-Logging-Does-Not-Work-Using-Tomee-Plus-1-6-0-on-Linux-tp4671110p4671120.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Reply via email to