+

Search Tips | Advanced Search

For up-to-date product documentation, see the IBM MobileFirst Foundation Developer Center.


Enabling logging and tracing in WebSphere Application Server full profile

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

When we 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, we 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 Configure Java logging using the administrative console.

Parent topic: Set logging and tracing for Application Center on the application server