Java (Java Agent, Installation, JVM, and Controller Installation)

cancel
Showing results for 
Search instead for 
Did you mean: 

Capturing WARNs as errors/exceptions along with FATALs/ERRORs

Highlighted
Discoverer

Capturing WARNs as errors/exceptions along with FATALs/ERRORs

Is there any option to capture WARNs along with the default ERROR/FATAL in Error Detection rules ?

 

I found this post talking about this , but no solution was given on how to enable this - https://community.appdynamics.com/t5/Java-Java-Agent-Installation-JVM/WARN-code-exceptions/m-p/28365...

 

Thanks!

 

Capturing WARNs as errors/exceptions along with FATALs/ERRORs
1 REPLY 1
Highlighted
AppDynamics Team

Re: Capturing WARNs as errors/exceptions along with FATALs/ERRORs

Hi Anshuman Bhatia,

We see as part of error detection we group under log4j/java utili logging type if error is not an exception but just a message instead exception stacktrace, if you do not see grouped exception (log4j error messages) as in below view, we suggest to use custom logger rule on API that is logging WARN level messages as referred in doc below and see if that helps

https://docs.appdynamics.com/display/PRO44/Error+Detection#ErrorDetection-SupplementErrorDetection

 

ExceptionsTab.png

 



Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.