In the WebSphere admin console, navigate to Troubleshooting > Logs and Trace > your application server, node, or deployment manager > Change log detail levels. The default log level is *=info.
The format of log level is <component>=<level>. In this example, the log level is every component at level info and above. The following log levels can be used.
There are too many possible components to list here. Here are a few of the more commonly used components.
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.