Tip for improved WAS log reading
Chad Scott 110000E1UB Visits (9483)
While stack traces in WebSphere logs can be invaluable for tracking down the root cause of exceptions, I frequently find that I'm seeing the same exception flooding the logs, and it has nothing to do with the problem I'm trying to track down. Some stacks may end up being useful, but they prevent me from effectively finding the problem I'm interested in. To work around this problem, you can use the following one-liner to remove all of the trace from your logs, leaving just the final error statement:
? grep -v -P "\tat" SystemOut.log > nostacks.log
Review the stackless log to find the errors you're interested in diving on, then refer back to the full log to investigate them.