RE: Custom EvaluatorClass with SMTPAppender when returning true sends PREVIOUS log message

2011-02-15 Thread Papierman, Paul
Seems that someone has already experienced this issue - I supposed that this hasn't been addressed: http://marc.info/?l=log4j-user&m=102507881420128&w=2 http://marc.info/?l=log4j-user&m=102508470025094&w=2 http://marc.info/?l=log4j-user&m=102508495925248&w=2 (from 2002) In a nutshell, what's happ

Re: can't get UDPAppender to work

2011-02-15 Thread Scott Deboy
It's not abandoned, the receivers companion is terribly overdue for a release. Chainsaw is also terribly overdue for a release, and relies on the receivers companion. Hopefully both will be released soon.. Scott On Tue, Feb 15, 2011 at 10:02 AM, Rodney Beede wrote: > You will have to compile a

Re: can't get UDPAppender to work

2011-02-15 Thread Rodney Beede
You will have to compile all the code and create a jar with the compiled code. All the correct paths inside the jar also need to be included. If you aren't familiar with using Java to compile code you may need to find a Java developer to do so for you. The project uses maven so you could build i

Re: can't get UDPAppender to work

2011-02-15 Thread rvarum
thanks for you answer Rodney. i'm little lost with Java. i took PortBased.java , NetworkBased.java and UDPAppender.java from the svn and made 3 jars from them using: jar cf file.jar file.java i put the 3 jars in the "lib" folder of the jboss where log4j.lib is, but it didn't help. i also m

Re: can't get UDPAppender to work

2011-02-15 Thread rvarum
thanks for you answer Rodney. i'm little lost with Java. i took PortBased.java , NetworkBased.java and UDPAppender.java from the svn and made 3 jars from them using: jar cf file.jar file.java i put the 3 jars in the "lib" folder of the jboss where log4j.lib is, but it didn't help. i also mov

Custom EvaluatorClass with SMTPAppender when returning true sends PREVIOUS log message

2011-02-15 Thread Papierman, Paul
1) I've created a custom Evaluator class that I wish to use for the SMTPAppender to not send the same emails for errors over a period of time. 2) I've added it to my log4j.xml configuration: mailto:myem...@somew

Re: FileAppender problem

2011-02-15 Thread umeshawasthi
I was thinking the same line but problem solved only by closing the appender when work done Sent from BlackBerry® on Airtel -Original Message- From: "Jacob Kjome" Date: Tue, 15 Feb 2011 09:45:15 To: Log4J Users List Reply-To: "Log4J Users List" Subject: Re: FileAppender problem I sugg

Re: FileAppender problem

2011-02-15 Thread Jacob Kjome
I suggest using a ServletContextLister and calling LogManager.shutdown() when your webapp is stopped. http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/LogManager.html#shutdown%28%29 http://stackoverflow.com/questions/839255/how-do-i-properly-log4j-closing-all-appenders-and-therefore