Enable logging and tracing in WAS 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 MPF), 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 JVM properties.
- Open the administrative console of WebSphere Application Server.
- Select Troubleshooting > Logs and Trace.
- In "Logging and tracing", select the appropriate application server and then select "Change log detail levels".
- Select the required packages and their corresponding detail level. For example, in this way we can select following packages and set the detail level. This example enables logging for MPF, including Application Center, with level FINEST (equivalent to ALL)
com.ibm.puremeap.*=all com.ibm.worklight.*=all com.worklight.*=allWhere:
- 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. Note that they are not sent to SystemOut.log or to SystemErr.log.
For more details, see Configure Java logging using the administrative console.
Parent topic: Set logging and tracing for Application Center on the application server