Hi,

I do not know if here is the best place to post this message, but I want to
share a feature that I had implemented in Log4J version 1.2.13, send my log
daily by FTP. I had that extend the class
org.apache.log4j.DailyRollingFileAppender and had that override the method
public synchronized void doAppend(LoggingEvent event) and making the FTP
connection for send the file when change the day, but before of send I do
compression of file using java.util.zip.ZipEntry. Obviously, at moment of
sending the file I started a new thread, because Log4J do not need wait the
end of process.

As everyone know Log4J can log your events in database our send email, so I
was thinking, why not include this feature in Log4J for others programmers
to use.

Regards,
Marivaldo Cabral

Reply via email to