Hi all,
I was looking at the /var/log and noticed tons of zmd-messages.log files. It seems like they do their own rotation with a YYYY-MM-DD extension formate which does not coincide with the dateext option in the logrotate.conf.
I really do not want all of these logs and do not want them built of because it really makes the directory look “clunky”.
I would like one of two solutions, maybe a combination of both:
- Would it be possible to only keep the log files for say a week? This would be ideal as when I do an ls on my /var/log directory I can see something more than zmd-messages.log*
- This wouldn’t be such a huge problem if these logs could be kept in a separate directory than /var/log. Could I specify its own directory within /var/log?
Any other suggestions are welcome. I suppose I might have to write my own script and put it in a cronjob to remove “old” zmd-message files since it does not seems to rotate outside of the “logrotate” in /etc/cron.daily