Enabling logging and tracing in WebSphere Application Server full profile

You can set the logging levels and the output file for tracing operations on the application server.

About this task

When you try to diagnose problems in the Application Center (or other components of IBM MobileFirst™ Platform Foundation), it is important to be able to see the log messages. To print readable log messages in log files, you must specify the applicable settings as Java™ virtual machine (JVM) properties.

Procedure

  1. Open the WebSphere® Application Server administrative console.
  2. Select Troubleshooting > Logs and Trace.
  3. In Logging and tracing, select the appropriate application server and then select Change log detail levels.
  4. Select the packages and their corresponding detail level. This example enables logging for IBM MobileFirst Platform Foundation, including Application Center, with level FINEST (equivalent to ALL)
    com.ibm.puremeap.*=all
    com.ibm.worklight.*=all
    com.worklight.*=all
    Where:
    • com.ibm.puremeap.* is for Application Center.
    • com.ibm.worklight.* and com.worklight.* are for other MobileFirst components.

    The traces are sent to a file called trace.log, not to SystemOut.log or to SystemErr.log.

What to do next

For more information, see Configuring Java logging using the administrative console.