This content has been marked as final.
Show 2 replies
-
1. Re: Customizing logging
wdfink Mar 31, 2014 3:08 AM (in response to sandello)1 of 1 people found this helpfulYou need to implement/extend java.util.logging.Handler and pack it into a module.
And use the CustomHandler configuration in the logging subsystem
-
2. Re: Customizing logging
jamezp Mar 31, 2014 1:09 PM (in response to sandello)1 of 1 people found this helpfulIt may depend on where you want to use your custom LoggingEvent and appender. If you're only concerned with using your custom log4j tools in your deployment(s) then you can follow the instructions to include your own version of log4j.
If you're looking to configure the server to use your custom appenders, then it won't work. The server uses JBoss Log Manager to configure it's loggers and handlers.
--
James R. Perkins