A class to act as a Wildfly custom logger with Raven. See this thread for more info.
If you are waiting for this pull request to get merged, try this project.
standalone.xml Jboss Logging Subsystem configuration:
<custom-handler name="RAVEN" enabled="true" class="br.com.tecnobiz.raven.wildfly.JbossLoggingSentryHandler" module="com.getsentry.raven">
<level name="ERROR"/>
<formatter>
<named-formatter name="PATTERN"/>
</formatter>
<properties>
<property name="dsn" value="https://<key>:<secret>@app.getsentry.com/<project>"></property>
<property name="tags" value="tag1:value1,tag2:value2"></property>
</properties>
</custom-handler>
Create a Wildfly Module:
<module xmlns="urn:jboss:module:1.0" name="com.getsentry.raven">
<dependencies>
<module name="javax.api"/>
</dependencies>
<resources>
<resource-root path="jackson-core-2.5.0.jar" />
<resource-root path="guava-18.0.jar" />
<resource-root path="raven-7.0.0.jar" />
<resource-root path="raven-java-wildfly-1.0.0.jar" />
<resource-root path="slf4j-api-1.7.9.jar" />
<resource-root path="slf4j-jdk14-1.7.9.jar" />
</resources>
</module>
That's it.