Hi All,
I have developped two appenders that I would like to know if the log4j team is interested in. Perhaps worthy of being in the contribs folder for log4j. I am not sure of the process but I will simply explain the appenders and go from there.


- HouseKeepingFileAppender: logs to a file that rolls over daily (no big woop). The key bit is that it will move all old/rolled logs to an archive folder (and optionally compress them) and will also remove all log files in the archive folder older than x days (default is 30)

- SMTPAppender: basically a duplicate of the smtp appender with the caveat that once it emails an error it will wait a set time before sending another error (default 5 minutes). This was because as we all know when things blowup they can blowup a whole lot so it has saved me from having an inbox with 400 emails on a few occasions.


These have been tested in and developed for 100 photo kiosks operating 7x24...



cheers, Glen








--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to