FreeKB - How to adjust a JVMs logging level in WebSphere
How to adjust a JVMs logging level in WebSphere

Home > Search > How-to
  by

In the left panel of the WebSphere admin console, navigate to Troubleshooting > Logs and Trace > select an application server, node, or deployment manager > Change log detail levels. In the Change log detail levels box, the default log level is *=info.

 

The following log levels can be used: off, fatal, severe, warning, audit, info, config, detail, fine, finer, finest, all. When you use a log level, everything at that level and above will be logged. For example, when *=info is used, all info, audit, warning, severe, and fatal events will be logged. Be aware that lower log levels will log more events, which can reduce the performance of the applications deployed.

Checkmarking "Disable logging and tracing of potentially sensitive data" will prevent sensitive information, such as credit card numbers, from being written to logs. There is a tradeoff here. The benefit is that security will be enhanced, as the possibility of sensitive data getting into the wrong hands is decreased. The drawback is that is may be more difficult to diagnose some problem. For example, if users are reporting an issue with credit card sumissions, the diabling of the writing of credit card numbers to the logs will make it more difficult to debug issues with credit card transactions.

If you change the log level, restart the JVM for the change to take effect.

 



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