To change the default logging for a deployed application

  1. Copy the appropriate log file (log4j_xxx.properties) to the <application name>.ear\config folder of the deployed application on WebSphere.
  2. Rename the file as log4j.properties
  3. Restart the application.