Using log4j1 outside the EAR
Use log4j1 outside the EAR.
About this task
To use a log4j1 file outside of the EAR:
Procedure
- Create new file in your classpath, for example
/folder/log4jconfig.custom.xml. - Modify
customer_overrides.propertiesused by your application server to addyfs.log4j.configuration=/folder/log4jconfig.custom.xml. Note that the "/" in front of the parameter is required. - Restart your application server.