Using log4j1 inside the EAR

Use log4j1 inside the EAR.

About this task

To use a log4j1 file inside the EAR:

Procedure

  1. Create new file in INSTALL_DIR/resources, for example log4jconfig.custom.xml.
  2. Modify customer_overrides.properties used by your application server to add yfs.log4j.configuration=/resources/log4jconfig.custom.xml.
  3. Run INSTALL_DIR/bin/deployer.sh -t resourcejar. This puts log4jconfig.custom.xml in resources.jar.
  4. Rebuild and redeploy the EAR, following the instructions for your application server type.