cron - how to turn off logging to the Event Log

Corinna Vinschen cygwin@cygwin.com
Wed Sep 5 09:06:00 GMT 2001


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.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
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/



More information about the Cygwin mailing list