Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Originating-IP: [166.70.14.22] From: "Tony Fenleish" To: cygwin AT cygwin DOT com Subject: RE: Cron - how to turn off logging to the Event Log Date: Thu, 25 Jul 2002 07:43:40 -0800 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 25 Jul 2002 15:43:40.0805 (UTC) FILETIME=[0CB47350:01C233F2] I have run into the same cron problem as desribed below, but I have no clue how to go about inplementing the solution. I've used cygwin for about a year now, but I still consider myself a beginner. Can anyone help me turn off Application Event Logging for my cron jobs? Thank you, -Tony http://sources.redhat.com/ml/cygwin/2001-09/msg00211.html On Wed, Sep 05, 2001 at 06:06:44PM +0200, Corinna Vinschen wrote: >On Wed, Sep 05, 2001 at 04:38:26PM +0100, Dan Gardner wrote: > > > I've got rsync running as a cron job. The job runs about once a >minute. How > > do I stop cygwin/cron logging to the NT event log (application) as it is > > filling it up with information-event messages "The description for Event >ID > > ( 0 ) in Source ( Cygwin ) could not be found..........." etc. I wish >to > > turn it off, so I can leave the machine for days/weeks with out worry >that > > the application log is full. > >The application log can be set to `overwrite events as needed' if >the size increased an upper limit. > >If that's inappropriate for you, take the cron sources and eliminate >all syslog() calls. Then recompile. Ooops, sorry , that's no good advice. There are defines in the cron sources which handle that. By default SYSLOG is defined in config.h and LOG_FILE is _not_ defined in pathnames.h. If you undef SYSLOG, no log is created at all. If you undef SYSLOG and define LOG_FILE, only a log file is maintained. If both are defined, both log methods are used concurrently. Corinna _________________________________________________________________ Join the world’s largest e-mail service with MSN Hotmail. http://www.hotmail.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/