To change the default logging for a deployed application
-
Copy the appropriate log file (log4j_xxx.properties)
to the
<application name>.ear\config
folder of the deployed application on WebSphere. -
Rename the file as
log4j.properties
- Restart the application.