[ale] CRON Logging

Robert Heaven robertheaven at mediaone.net
Tue Sep 26 09:04:30 EDT 2000


Well, this started logging cron messages to the /var/log/cron log file.
Unfortunately, cron is now logging it's messages in both /var/log/cron and
/var/log/messages. The objective was to stop logging to /var/log/messages.


> Try adding the following line at the top of /etc/syslog.conf:
>
> cron.*   /var/log/cron
>
> If you are using logrotate (and depending on its configuration), you might
> also want to create a file /etc/logrotate.d/cron containing the following:
>
> /var/log/cron {
>     postrotate
>         /usr/bin/killall -HUP crond
>     endscript
> }
>
> --Joe
>>
>> Is there a way to make cron send it's log messages to something other
than
>> /var/log/messages? I keep looking for some kind of config file but can't
find
>> it.
>> --

--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.





More information about the Ale mailing list