1 Reply Latest reply on Aug 15, 2012 1:35 PM by Ed Roberts

    AS7.1.1 Email Log Entries

    Darrell Burgan Newbie

      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:

       

      <root-logger>

          <level name="INFO"/>

          <handlers>

              <handler name="CONSOLE"/>

              <handler name="FILE"/>

              <handler name="SMTP"/>

          </handlers>

      </root-logger>


      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!

      Darrell Burgan