#50982 cron: weird logging

Package:
cron
Source:
cron
Description:
process scheduling daemon
Submitter:
Date:
2005-07-18 03:57:56 UTC
Severity:
wishlist
#50982#5
Date:
1999-11-22 18:45:55 UTC
From:
To:
I don't wish to be super-pedantic, but cron's logging is a bit weird.

For example, when the cron daemon is started, the following messages
are logged:

Nov 22 19:37:31 oskar /usr/sbin/cron[2502]: (CRON) INFO (pidfile fd = 3)
Nov 22 19:37:31 oskar /usr/sbin/cron[2503]: (CRON) STARTUP (fork ok)

Who cares what file descriptor corresponds to the open pidfile, or
that cron forked ok? (If it didn't, I wouldn't except it to start
up at all. That's what all background daemons need to do.) Something
like this would be better:

Nov 22 19:37:31 oskar cron[2503]: Daemon started

When cron shuts down, no message is logged at all. This would be
better:

Nov 22 19:37:40 oskar cron[2503]: Daemon exiting on signal 15

The same could be said for the "informative" editing/list/update
messages for crontab, but that's even less important...

Oskar Liljeblad (osk@hem.passagen.se)