It depends on what types of logs you are getting. For mail and crontab logs you can setup the logging facilities in the /etc/syslog.conf file. You may just want to log high priority messages.
Jesse On Thu, 2003-03-06 at 14:55, Kevin Anderson wrote: > I have a cronjob that's giving me action. > > I have a job schedules, and it's successfully running every 5 mins. > This creates a mountain of log files which I'd like to ignore, because > they are irrelevant. The job just checks a mail queue, and retries > anything that might be stalled for any reason. > > Anyway, I appended "> /dev/null" onto the end of the line in the > crontab, but it's still giving me the output. I know that it > shouldn't, I've used this before. > > Does anyone have any suggestions? I've seen a few people appending "> > /dev/null 2>&1" but since I'm not too sure what this does, I'm > wondering if it could be explained... > > Thoughts or suggestions appreciated. > > Thanks > Kev. -- Jesse Kline, RHCT
signature.asc
Description: This is a digitally signed message part
