Displaying 1 result from an estimated 1 matches for "copmpress".
Did you mean:
compress
2017 Apr 26
0
rsyslog and zipping up "rotated" files
......
so that I get over time
..
/var/log/external/server/maillog-20170424.log
/var/log/external/server/maillog-20170425.log
/var/log/external/server/maillog-20170426.log
etc.
Over time of course these build up, so i have a cronjob to trim any such logs okder than 30 days. ?To also save on space I copmpress all the files except todays via a cronjobbed script.
so in fact I get?
...
/var/log/external/server/maillog-20170424.log.gz
/var/log/external/server/maillog-20170425.log.gz
/var/log/external/server/maillog-20170426.log
My questions are therefore...
- is there a way for rsyslog to compress these...