Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Connect io.sentry.logback to wildfly 24 #2129

huadon started this conversation in General
Discussion options

Is it possible to connect sentry to wildfly as part of custom-handler for logging?

tried adding io.sentry and io.sentry.logback as module but not working.

You must be logged in to vote

Replies: 1 comment 5 replies

Comment options

I've written some time ago a guide for setting up Sentry with JBoss (https://gist.github.com/maciejwalkowiak/02fa1eb0089ebc6e0a4687458a204779). Not sure how things are different in Wildfly 24 but perhaps it will be helpful for you.

You must be logged in to vote
5 replies
Comment options

Thank you I will try it. Also I guess I can use latest version of all libs

Comment options

Yes, note that starting from Sentry SDK 6.x, GSON is not used so you can skip it. Since JBoss uses JUL for logging, in this sample config I've used Sentry JUL integration. Not sure how is it going to work with Logback but would definitely appreciate if you can share your learnings.

Comment options

try to follow instruction with latest 6.1.3 sentry and sentry-jul, but always got following error

Failed to link io/sentry/jul/SentryHandler (Module "io.sentry" from local module loader @618c5d94 (finder: local module finder @5b40ceb (roots: C:\workfolder\wildfly-24.0.0.Final\wildfly-24.0.0.Final\modules,C:\workfolder\wildfly-24.0.0.Final\wildfly-24.0.0.Final\modules\system\layers\base))): java/util/logging/Handler

Comment options

ok, it worked after i added dependency in module.xml to


Comment options

Just checked and it does work for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /