Using log4j1 outside the EAR

Use log4j1 outside the EAR.

About this task

To use a log4j1 file outside of the EAR:

Procedure

  1. Create new file in your classpath, for example /folder/log4jconfig.custom.xml.
  2. Modify customer_overrides.properties used by your application server to add yfs.log4j.configuration=/folder/log4jconfig.custom.xml. Note that the "/" in front of the parameter is required.
  3. Restart your application server.