Hi everyone, sorry if this is a noob question, but I'm still kind of an AS7 noob. I searched the forums and could not find a straightforward answer to my question, so I'll ask it here.
I'm trying to configure AS7.1.1 in domain mode to send all log entries at level ERROR or above out to an email address. This is important to us so that all developers on the team are aware of production issues they may have caused. I'm trying to keep it simple and just use the built-in JBoss logging, We're using slf4j inside our app.
My question is: is there no out of box JBoss long handler for sending out emails for log entries? I'd love to be able to configure my root logger as follows:
Seems like a bread-and-butter kind of log handler. Does one exist? Or do I have to write a custom log handler? Bear in mind we're using the absolute latest JBoss 7.1.1.
Thanks for any guidance!
No doubt you will have found something by now, but just to tidy up a loose end. Here's a useful link to a compatible logging handler https://community.jboss.org/wiki/CreatingACustomLoggingHandlerInJBOSSAs710Final
The comment about using an Async Handler is valid as we had that setup in previous JBoss AS editions.