Automatically Compress Log Files

This forum contains features that has been archived. This section contains implemented features, duplicate requests, and requests which we have decided not to implement.
Post Reply

Do you need this feature?

Total votes: 6

New user
New user
Posts: 1
Joined: 2004-08-22 21:31
Location: Illinois, USA

Automatically Compress Log Files

Post by Jackalo » 2004-08-22 21:39

In the past month, my log files have gone well over 150MB, and after compressing them with WinRAR to their own seperate archives on the Best compression setting, I got them down to 4MB.

A nice feature to see would be an option to automatically compress the log file after that day has passed and a new file is being used.

Since different people have different preferences, perhaps the hMailServer Administrator program could take a query string (winrar -r {logfile} -c -b9) so we could swap out compression agents. If not, we'd need to find the highest compression utility that could be used for free. 7zip, perhaps?
- Mike

User avatar
Senior user
Senior user
Posts: 417
Joined: 2004-05-24 22:57
Location: The Netherlands

Post by Bram » 2004-08-23 10:22

Isn't it easier to schedule a .bat job that does the work for you?

Normal user
Normal user
Posts: 245
Joined: 2004-04-05 20:21
Location: Ottawa, Canada

Post by polarunion » 2004-08-24 08:16

would a .bat be something user friendly for a non programer? this is a great idea as a feature.. it deserves consideration.

Site Admin
Posts: 13861
Joined: 2005-07-29 16:18
Location: UK

Post by ^DooM^ » 2006-11-09 02:38

I know this is an OLD topic but I would like to see this implemented or at the very least add the last months logs to a new directory to make archiving and compressing easier.

Normal user
Normal user
Posts: 88
Joined: 2006-01-31 23:56
Location: Roy, UT USA

Post by cveillon » 2006-11-09 07:20

This would be extremely handy to have :)

Post Reply