So the solution (or what I was missing) was to include the SMTP appender to the 
root category in the lo4j.xml file (at the bottom of the file):

   <!-- ======================= -->
  |    <!-- Setup the Root category -->
  |    <!-- ======================= -->
  | 
  |    <root>
  |       <appender-ref ref="CONSOLE"/>
  |       <appender-ref ref="FILE"/>
  |     <appender-ref ref="SMTP"/>
  |    </root>

Works now :) .  That was easy, just took forever to figure it out by myself, 
wish these things were documented somewhere. 

I am receiving 2 emails though, one for each error.  Anyone know how I could 
get a bunch of errors in the same mail, grouped by time or session?
Thanks in advance :)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3935635#3935635

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3935635


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to