I was wondering if there is a way to redirect raised exceptions to a centralised sentry facility, instead of local log file, using the appropriate log appender provided by https://github.com/getsentry/sentry-java
Some more light to this; according to the sentry-java documentation the DSN should be passed as an argument either as environmental or java variable. Whenever I tried to pass it with either ways, I got some JIRA plugins not initialised and eventually JIRA was locked.
I then hot-patched the DSN into the java code and recompiled it, omitting the need to pass DSN as an argument during runtime. While building the packages, I realised that the jackson-core class was also required, however, no exception with regard to this was ever raised while JIRA was starting.
Eventually, I copied all jackson-core, sentry-java, sentry-log4j into the library directory and passed the DSN as a java argument and everything works.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs