Share

smtphandler

Code

Programming Languages: Java

License: Apache License V2.0

Repositories

browse code, statistics, last commit on 2008-10-05 cvs -d:pserver:anonymous@smtphandler.cvs.sourceforge.net:/cvsroot/smtphandler login

cvs -z3 -d:pserver:anonymous@smtphandler.cvs.sourceforge.net:/cvsroot/smtphandler co -P modulename

Show:

What's happening?

  • smtphandler

    sullis added jeromatron to the smtphandler project.

    2009-08-28 07:21:45 UTC by sullis

  • Comment: Log level in Subject

    One more fix, the CyclicBuffer.getLastAndKeepIt() should be like this: public LogRecord getLastAndKeepIt() { if (numElems

    2009-06-09 15:10:38 UTC by xmedeko

  • Comment: Log level in Subject

    I have even needed to add the source class and method to the subject. So I have made the following patch. One may set subject as smtphandler.subject = Log message [{0}] at {1}.{2} and will get subject like "Log message [SEVERE] at org.mypackage.MyClass.myMethod" the patch of SMTPHandler.sendBuffer(): // subject if (subject != null) { try { LogRecord lastLogRecord...

    2009-06-09 13:22:36 UTC by xmedeko

  • Enhanced default TriggerEvaluator

    Hi, I have made a public class TriggerLevelEvaluator, which has a parameter - level when the isTriggeringRecord returns true. Furthermore, the user may set this level in the logging.properties file. I have just changes the SMTPHandler constructor a little bit: String strEvaluatorClassName = manager.getProperty(prefix + ".evaluatorClass"); this.setEvaluatorClass(strEvaluatorClassName);.

    2009-06-05 13:50:06 UTC by xmedeko

  • Comment: several changes

    This issue was created by mistake.

    2009-06-05 13:42:59 UTC by xmedeko

  • several changes

    Hi, Hi, I have made a small change in SMTPHandler.sendBuffer(), so that is somebody uses a string {0} in the subject, e.g. smtphandler.subject = Log message {0} then the {0} is replaced by log level of the las log in the cyclic buffer. // subject if (subject != null) { try { String levelName = cb.getLastAndKeepIt().getLevel().getName();...

    2009-06-05 13:41:40 UTC by xmedeko

  • several changes

    Hi, Hi, I have made a small change in SMTPHandler.sendBuffer(), so that is somebody uses a string {0} in the subject, e.g. smtphandler.subject = Log message {0} then the {0} is replaced by log level of the las log in the cyclic buffer. // subject if (subject != null) { try { String levelName = cb.getLastAndKeepIt().getLevel().getName();...

    2009-06-05 13:40:28 UTC by xmedeko

  • Issue using GMail SMTP server

    Whenever you attempt to configure the SMTP handler to use GMail's SMTP server it fails because it requires TLS to be used. I have got this working by amending the SMTPHandler code to set the JavaMail property "mail.smtp.starttls.enable" to "true" in the "sendBuffer" method. I have done this by adding a new property "smtphandler.SMTPHandler.starttls=true" to the logging.properties file.

    2009-04-01 01:41:39 UTC by nobody

  • smtphandler

    sullis committed patchset 119 of module smtphandler to the smtphandler CVS repository, changing 1 files.

    2008-10-05 08:52:08 UTC by sullis

  • smtphandler

    sullis committed patchset 118 of module smtphandler to the smtphandler CVS repository, changing 3 files.

    2008-10-05 08:37:33 UTC by sullis

Our Numbers