I prefere the configuration in JBoss and not provide a app specific log4j.xml.
In that case you can control the levels by using CLI (i.e. standalone server)
It is also possible to add a file appender to use your app logfile.
Thanks for the quick response, Wolf! Thats a good idea. I will bounce that with my Operations team.
However, there is a little bit more to the puzzle.
I have a JSONPattenLayout class that we develoed internally and structure the log output in JSON format. If I put in the logger configuration in standalone.xml, is it possible to ue my own layout class? I beleive, if this class is not available during server startup the deployment will fail, right? How do I add any custom config like JSONPatternLayout?