Re: How to stop crond logging to syslog?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday 25 February 2005 12:56, Jess Anderson wrote:
> Every time cron wakes up, it logs authentication (PAM)
> actions to syslog. Not especially useful for a one-user
> (plus root) system, these messages mostly fill up space:
>
> Feb 25 11:21:01 seth crond(pam_unix)[4381]: session opened for user
> anderson by (uid=0) Feb 25 11:21:02 seth crond(pam_unix)[4381]: session
> closed for user anderson Feb 25 11:25:01 seth crond(pam_unix)[4396]:
> session opened for user root by (uid=0) Feb 25 11:25:01 seth
> crond(pam_unix)[4396]: session closed for user root Feb 25 11:27:01 seth
> crond(pam_unix)[4454]: session opened for user anderson by (uid=0) Feb 25
> 11:27:02 seth crond(pam_unix)[4454]: session closed for user anderson Feb
> 25 11:30:01 seth crond(pam_unix)[4497]: session opened for user root by
> (uid=0) Feb 25 11:30:01 seth crond(pam_unix)[4500]: session opened for user
> root by (uid=0) Feb 25 11:30:01 seth crond(pam_unix)[4497]: session closed
> for user root Feb 25 11:30:01 seth crond(pam_unix)[4500]: session closed
> for user root
>
> As far as I can see this logging is compiled in, rather than
> being controlled by /etc/syslog.conf. Of maybe (entirely
> possible) I'm confused. The man pages don't mention options
> or other alternatives, apparently.
>
> Suggestions welcome.
>
> --
> [] Hindsight is an exact science.
> [] -- (Anonymous)
> --
> *  Copyright 2005 Jess Anderson
> *  www.jessanderson.org  *  anderson@xxxxxxxx
> *  Window Maker Themes: www.jessanderson.org/wmthemes
I'd take a closer look at /etc/syslog.conf, mine has the following lines in 
it.

# Log cron stuff
cron.*                                                  /var/log/cron


Attachment: pgpwbudkTIlep.pgp
Description: PGP signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux