Page 1 of 1

Getting rid of crond(pam_unix) in /var/log/messages in RHEL or Fedora cron spamming your messages log Rate Topic: -----

#1 Trogdor  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 15
  • View blog
  • Posts: 627
  • Joined: 06-October 06

Posted 06 February 2009 - 10:47 AM

Since FC3 Fedora and RHEL come with a version of vixie cron that generates messages in your messages log file for every job that starts. Very annoying.

To separate out those messages, su to root and edit /etc/syslog.conf
remove or comment out
*.info;auth.none;mail.none;authpriv.none;cron.none /var/log/messages
and replace it with
*.info;mail.none;news.none;authpriv.none;cron.none;auth.!=info /var/log/messages

Then you can add the following line to have cron still do its logging, but somewhere else: /var/log/

After that edit, restart the logger and you are done:
service syslog restart

Is This A Good Question/Topic? 0
  • +

Page 1 of 1