delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/09/05/12:07:02

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Wed, 5 Sep 2001 18:06:44 +0200
From: Corinna Vinschen <cygwin AT cygwin DOT com>
To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: Re: cron - how to turn off logging to the Event Log
Message-ID: <20010905180644.M30380@cygbert.vinschen.de>
Mail-Followup-To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
References: <E1B4A7141B8BD411925200508BC5D44FF2C35D AT ANGELMAIL01>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <E1B4A7141B8BD411925200508BC5D44FF2C35D@ANGELMAIL01>; from Dan.Gardner@emap.com on Wed, Sep 05, 2001 at 04:38:26PM +0100

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 AT cygwin DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019