How to switch between basic and HPEL logging in WebSphere

Home > Search > How-to
  by

By default, WebSphere will use basic logging. With basic logging, the application server will log events in the SystemOut.log, SystemErr.log, trace.log, and activity.log. With High Performance Extensible Logging HPEL, there are three types of logs: HPEL log, HPEL trace, text.log.


To enable HPEL logging

  1. In the left panel of the WebSphere web console, select Troubleshooting > Logs and trace.
  2. Select the server that you want to switch to HPEL.
  3. Select Switch to HPEL Mode.
  4. Select Save.

If enabling HPEL logging on a node, restart the node agent. If enabling HPEL on an application server, restart the application server. After restart, Logs and trace should display the 3 types of HPEL logs.

 


To enable basic logging

  1. In the left panel of the WebSphere web console, select Troubleshooting > Logs and trace.
  2. Select the server that you want to switch to HPEL.
  3. Select Change log and trace mode.
  4. Select Switch back to basic mode.
  5. Select Save.

 


Viewing the HPEL logs

The HPEL logs are viewed using the logViewer command.



Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.




Please enter in the box below so that we can be sure you are a human.




Comments