I apologize for the newbie post, but I have nowhere else to turn at this point.

I am implementing a product that uses the logback system (Shibboleth) and their 
wiki mentions the SMTP appender 
(https://spaces.internet2.edu/display/SHIB2/IdPProdLogging).

But, I am not able to get it to work and they asked me to post here for help.

I know that I am just missing something in my configuration, but I'm not sure 
what.  I'm not sure how to get any log messages from logback to help me know 
where I am wrong.

I know that the SMTP appender needs the javamail API, janino, and the 
java-beans activation framework (JAF).

I'm running JRE 6, so I downloaded the javamail API 1.4.1, janino 2.5.15, and 
JAF 1.1.1 and added them to the classpath (mail.jar, janino,jar, and 
activation.jar).

The app (Shibboleth) starts fine, but I get no mail when an ERROR event is 
triggered.

So, any ideas what I am doing wrong?  Here's my config in the shibboleth 
logging.xml:

<appender name="IDP_EMAIL" class="ch.qos.logback.classic.net.SMTPAppender">
   <SMTPHost>myserver.utsystem.edu</SMTPHost>
   <To>[EMAIL PROTECTED]</To>
   <From>[EMAIL PROTECTED]</From>
   <Subject>[IdP Error] %msg</Subject>
</appender>


   <root>
         <level value="ERROR" />
         <appender-ref ref="IDP_PROCESS" />
         <appender-ref ref="IDP_EMAIL" />
   </root>


Thanks much for the help!
_______________________________________________
Logback-user mailing list
[email protected]
http://qos.ch/mailman/listinfo/logback-user

Reply via email to