LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-01-2006, 02:49 PM   #1
rfuller
LQ Newbie
 
Registered: Jan 2006
Location: 3rd Rock from sol.
Distribution: Mainley fedora core ... and whatever other distro helps reduce my work load at the moment.
Posts: 16

Rep: Reputation: 0
crond logging


Just curious if there is a way to turn off the crond logging to /var/log/messages. It already logs to /var/log/cron and frankly I'm sick of messages getting to be 168Mb every two days. So I am trying to disable everything that logs worthless or redundant info and cron is the biggest culprit. Already disabled named logging which was another culprit.

Thanks in advance.
 
Old 02-01-2006, 03:06 PM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Which logger do you use?
You can likely set up a filter to send the messages to /dev/null rather than /var/log/messages
 
Old 02-01-2006, 03:25 PM   #3
rfuller
LQ Newbie
 
Registered: Jan 2006
Location: 3rd Rock from sol.
Distribution: Mainley fedora core ... and whatever other distro helps reduce my work load at the moment.
Posts: 16

Original Poster
Rep: Reputation: 0
I use syslog. In the syslog.conf it shows:

*.info;mail.none;authpriv.none;cron.none /var/log/messages

Which if I am not mistaken means its not supposed to log any cron messages in messages....but it does?!? A broken cron perhaps?

EDIT: Turns out the message it coming from pam whenever cron runs... is there a way to turn off pam reporting cron jobs without adding auth.none to the exclusion list...that's pretty important info generally except when cron does it.

Also if anyone knows how to completely eliminate all "last message repeated" messages would be handy. I only care if it ever happened and don't want any repeat messy-ges.

Last edited by rfuller; 02-01-2006 at 05:35 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with crond and auditd pfaendtner Linux - Software 4 04-25-2005 10:41 AM
crond timeouts ? startail Linux - Software 0 01-11-2004 04:27 AM
My crond isn't working GaX Linux - General 6 01-07-2004 05:27 PM
Crond jimval7 Linux - General 2 03-06-2002 11:28 AM
Shutting up Crond mikeyt_333 Linux - General 9 12-03-2001 12:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration