how to increase the size of /var/log/cron on cent os 6.4. I wanted to keep the logging history longer.
Thanks!
how to increase the size of /var/log/cron on cent os 6.4. I wanted to keep the logging history longer.
Thanks!
The size of your cron log is limited by
It's not clear which of these you're having problems with.
For the former - add more disk space.
For the latter look at the configuration of logrotate the default files for which are /etc/logrotate.conf
and /etc/logrotate.d/*
.
If you only want to act upon cron.log you will have to remove it from it's current configuration file (see /etc/logrotate.d/syslog
) and create a new file that tells logrotate how to handle cron.log differently.