I will try to do this. I am just trying to implement a product that uses logback (Shibboleth 2.0), where the SMTP appender is not working and am not a java developer (I develop software, but in .NET).
I have heard from a couple of other people using this product that they were not able to get the SMTP appender working either, so it may be a problem with the app. I'm not sure if anyone ever tested it. If I knew what to look for in the code (I do have the source for it), I would see if there was anything I could fix, but I am a bit lost on this. Thanks for the help! > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Anton Tagunov > Sent: Friday, July 11, 2008 8:36 AM > To: logback users list > Subject: Re: [logback-user] SMTP appender help > > >The app (Shibboleth) starts fine, but I get no mail when an > ERROR event is triggered. > > Hi! Could you please also do the following from your application code: > > logger.error("should go to SMTP"); > LoggerContext lc = (LoggerContext) LoggerFactory.getILoggerFactory(); > StatusPrinter.print(lc); > > this will print all logback errors that got accumulated in > logback's internal datastructures. > > Alternatively if JMX monitoring is configured please use > JConsole to browse logback status messages. > Chances are you'd find something useful there. > > Regards, > Anton > logback user > _______________________________________________ > Logback-user mailing list > [email protected] > http://qos.ch/mailman/listinfo/logback-user > _______________________________________________ Logback-user mailing list [email protected] http://qos.ch/mailman/listinfo/logback-user
