Can I view custom error/exception which is appearing in tomcat logs at APM error listing

Hello There,

Since I am not getting any error while using APM, not mentioning versions.
I have a specific query.

I see that below kind of custom exception which is logged in catalina.log are not captured in APM error listing. Do you have any input on these custom error can be added to the APM error listing.

<No business object 'Software Support Object CAD Conversion Parameters -' found

	at matrix.db.BusinessObject.getBasics(BusinessObject.java:2783)
	at matrix.db.BusinessObject.getDescription(BusinessObject.java:1412)/>

Thanks
Krishana

Hello,
what version of elastic-apm-agent do you use?
Do you capture this exception manualy in your application?

Thanks nugusbayevkk,

what version of elastic-apm-agent do you use?
-version of elastic-apm-agent is elastic-apm-agent-1.12.0.jar
Do you capture this exception manualy in your application?
-Yes, we capture this manually

In this case, you can captureException manually via "Public api".
Or use supported logging framework, slf4j .

In addition, we will soon merge a pull request that adds the same feature mentioned by @nugusbayevkk for log4j, so if you are using that as your logging framework- may be what you are looking for.

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.