School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become an Expert!

Join 307,112 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 2,007 people online right now. Registration is fast and FREE... Join Now!




Getting rid of crond(pam_unix) in /var/log/messages in RHEL or Fedora

 
Reply to this topicStart new topic

> Getting rid of crond(pam_unix) in /var/log/messages in RHEL or Fedora, cron spamming your messages log

Trogdor
Group Icon



post 6 Feb, 2009 - 09:47 AM
Post #1


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:
auth.info /var/log/auth.info


After that edit, restart the logger and you are done:
service syslog restart
Go to the top of the page
+Quote Post


Register to Make This Ad Go Away!


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 


Lo-Fi Version Time is now: 11/21/09 01:17PM

Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month