Editing log properties

The logging framework is built on the java.util.logging package. You can set log levels from SEVERE to FINEST. For a description of log levels, see “Levels of logging.”

Editing log properties in Apache Tomcat

Change the log properties by specifying packages and log levels in the logging.properties file.

Procedure

  1. Go to Tomcat installation directory/webapps/fp/WEB-INF/classes.
  2. In the logging.properties file, edit packages and log levels.
  3. Optional: For the ehcache component logging, edit Tomcat installation directory/config/logging.properties.
  4. To apply the new settings, restart the application server.

Results

View the logs to verify the updated log properties. By default, the generated log files are in the following directory: tomcat installation directory/logs.

Editing log properties in WebSphere Application Server

Change the log properties by editing the fp-logging.properties file.

Procedure

  1. Go to WebSphere Application Server installation directory/profiles/servername/cellname/fp_war.ear/fp.war/WEB-INF/classes.
  2. In the fp-logging.properties file, edit packages and log levels.
  3. Optional: For the ehcache component logging, use WebSphere Integrated Solutions Console to change the log details levels for the net.sf.ehcache.* packages. Make sure that the server is running, and open WebSphere Integrated Solutions Console. Then, expand Troubleshooting and click Logs and trace.
  4. To apply the new settings, restart the application server.

Results

View the logs to verify the updated log properties. By default, the generated log files are in the following directory: WebSphere Application Server installation directory\profiles\servername\logs\.

Feedback