i have done that, (you can also specify a max age for the files...) however it 
is not documented well. i'll send it to you directly, comments welcome ;-)

cheers
patrick


> -----Ursprüngliche Nachricht-----
> Von: news [mailto:[EMAIL PROTECTED] Auftrag von Chris
> Gesendet: Mittwoch, 24. Januar 2007 18:12
> An: [email protected]
> Betreff: Automatically zipping and archiving logs?
> 
> 
> Does anyone know of a way to zip log files automatically and 
> copy them 
> to an archive? I'm thinking that an Appender that did this 
> would be cool.
> 
> We've got an installation with a number of app servers that generate 
> huge logs at very high speed. If we could zip a log whenever 
> it rolled 
> over, and then have all the servers move the zipped files to a common 
> location (renaming the files appropriately), it would solve a big 
> maintenance headache.
> 
> I'm thinking something that works like AsyncAppender would be a good 
> idea, because then the system wouldn't need to pause to handle the 
> zipping task. A separate low-priority thread could do it.
> 
> Does anything like this exist now?
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 



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

Reply via email to