-
1. Re: EAP6 and syslog
jamezp Jul 11, 2012 2:12 PM (in response to borisha)1 of 1 people found this helpfulThere is no way to currently do this I can think of. There has been an issue raised to allow log4j appenders to be used as custom handlers.
If the location of the logs is an issue, you can change where they are written to if that helps at all. I realize that's not exactly what you're looking for, but maybe it could work in the interim until the issue gets resolved.
--
James R. Perkins
-
2. Re: EAP6 and syslog
davidmac Jul 11, 2012 2:51 PM (in response to borisha)1 of 1 people found this helpfulWe have the same requirement and I have seen this: https://github.com/kifj/jboss-syslog but haven't investigated yet.
-
3. Re: EAP6 and syslog
jamezp Jul 11, 2012 3:05 PM (in response to davidmac)Interesting little project. Thanks for letting me know about that. It looks like it might only work in Linux environments, but looks like a nice simple approach to it.
--
James R. Perkins
-
4. Re: EAP6 and syslog
borisha Jul 11, 2012 3:27 PM (in response to jamezp)Thanks James,
I voted for the issue to be resolved. Hopefully it makes EAP soon, otherwise it looks like we'll have to do a lot of not-so-elegant fixes.
We would not mind using slf4j with log4j bridge but in that case:
1) we can not use jboss CLI for logger configuration
2) it looks like almost impossible job to make applications use log4j and find log4j.properties