use sentry with servoy

Hi all,
Did any of you even have used https://sentry.io/ for logging?
How did you implent it with servoy?

Regards,

Gerard Immeker

Servoy uses log4j2 for logging.

Sentry seems to have an integration with log4j, see https://sentry.io/for/log4j2/

I guess if you add sentry-log4j2.jar to the war file, you could modify the log4j2.xml as shown in that page,

Hi Rob,
I’ve add the jar to the tomcat/lib folder.
Added the appender to the xml file.
When we deploy the solution, the error below occours.
[Fatal Error] log4j2.xml:31:17: Open quote is expected for attribute “dsn” associated with an element type “Sentry”. │
│ ERROR StatusLogger Error parsing /usr/local/tomcat/webapps/autoflex/WEB-INF/log4j2.xml

Any ideas?
Regards,
Gerard

As the error says, your log4j2.xml is probably malformed, there is a missing double quote somewhere.
Check the quotes for the “dsn” attribute in the appender.