ABRT error handler for JBoss AS 7
Compile the jar file with maven: mvn package
Unzip the archive created in the target/zip
folder at $JBOSS_HOME/modules
.
Modify the JBoss configuration in standalone/configuration/standalone.xml
like this:
<subsystem xmlns="urn:jboss:domain:logging:1.1"> ... <custom-handler name="ABRT" class="com.redhat.abrt.log.jboss.AbrtLogHandler" module="org.abrt.log> <level name="ERROR"/> </custom-handler> ... <root-logger> <level name="INFO"/> <handlers> <handler name="CONSOLE"/> <handler name="FILE"/> <handler name="ABRT"/> </handlers> </root-logger> </subsystem>