How to put Log4J configuration file outside application when using per-deployment logging in JBoss EAP 6?
Issue
- How can log4j configuration files placed outside applications be used when using per-deployment logging in JBoss EAP 6?
- Tried to make some changes in the application, but the application does not log any traces in the server.log file.
- How application running on JBoss EAP 6 server should create its own log file and control the logging behavior using log4j properties outside of war file?
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.