LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-29-2011, 03:03 AM   #1
manjunath.nm89
LQ Newbie
 
Registered: Sep 2011
Posts: 1

Rep: Reputation: Disabled
Cron syslog issue


I have written a custom cron. This cron executes a rake task every 5 minutes. I also log the trace of this execution in a file locally on my server. The whole process seems to execute seamlessly every 5 minutes, but then it seems to log it in /var/log/syslog. I investigated on the syslog and found that system's critical errors, and other cron issues are logged in syslog. Has anybody faced this kind of an issue ?
 
Old 09-29-2011, 08:57 PM   #2
kakaka
Member
 
Registered: Sep 2003
Posts: 382

Rep: Reputation: 87
Hi manjunath.nm89,

On the wide variety of Unix and "Unix-like" systems that exist, log files are structured in diverse ways. But in general, if the system is configured to have cron log it's activities, cron tends to do some basic logging of the tasks it runs. So in additional to your detailed/trace output, I'd expect cron to do some basic logging about the task you are having it run.

In your situation, you've described what's happening on your system, but NOT how you want things to work differently. What is that you want to happen differently that it is happening?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
disable cron logs from php-syslog-ng harshaabba Linux - General 1 08-15-2010 12:50 PM
disable cron from logging to syslog akudewan Linux - General 6 07-07-2008 10:29 AM
Help With Syslog Issue adimenia Linux - Networking 1 05-30-2008 10:36 AM
logrotate, syslog-ng & cron hattori.hanzo Linux - Newbie 1 11-08-2006 01:08 PM
Syslog logging Cron logins rhoekstra Fedora 4 02-17-2005 03:45 AM


All times are GMT -5. The time now is 10:41 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration