Wildfly 10 doesnt use my log4j.xml in my jar inside an ear

i deployed my .ear (including a war and a jar) on my wildfly 10.1.0 server successfully, but the jar-module doesnt write any logs, while the .war writes logs just fine.

So this is what i see when i click on view for the deployment in the wildfly-webgui:

-> subdeployment -> xy.war -> subsystem -> logging -> config -> classpath to log4j.xml

-> subdeployment -> xy.jar -> subsystem -> logging -> config -> default

I builded the .ear with maven and both modules have the same log4j.xml (just a different path for saving the log).


Read More »

By: StackOverFlow - 5 days ago

Related Posts