I am obtaining a bunch of errors on an Agent that corresponds to a JVM on Weblogic. However, when I am looking at the application logs for such errors, I cannot find them. Is there a way to look from which logs are those exceptions comming from?
As well, I am wondering if Dynatrace can be capturing more than the logs are displaying? (just asking).
Thank you for your comments!
Answer by Andreas G. ·
Dynatrace is capturing all Exceptions that are thrown - not only those that make it to a log file. Thats why you typically see more Exceptions in the Exception DAshlet than log files in your log files. hope this makes sense. Here is a blog you should check out: http://apmblog.compuware.com/2014/04/01/dont-trust-your-log-files-how-and-why-to-monitor-all-exceptions/
Why do we show this by default? Because Exceptions - even though they are properly handled by the App - typically indicate an "exceptional" state of the application. A high number of exceptions that are handled typically indicate configuratoin issues and the application is falling back into a "default" mode, e.g: when you forget to configure certain config properties that the app assumes are set an Exception is thrown and the handler of that Exception than uses a default value.
A high number of Exceptions also means additional overhead. Check out the following blog post: http://apmblog.compuware.com/2013/08/07/performance-impact-of-exceptions-why-ops-test-and-dev-need-to-care/
Let me know if this helps