delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/03/21/20:40:40

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: "Bryan D. Thomas" <cinder_bdt AT yahoo DOT com>
Subject: Re: cygrunsrv stderr and stdout only to a syslog-ng log?
Date: Tue, 21 Mar 2006 16:58:37 -0800
Lines: 28
Message-ID: <dvq7g6$1p3$1@sea.gmane.org>
References: <20060321214505 DOT 62914 DOT qmail AT web31302 DOT mail DOT mud DOT yahoo DOT com> <dvq079$cj6$1 AT sea DOT gmane DOT org>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Thank you for your response, René.

"René Berber" <r DOT berber AT computer DOT org> wrote:

> if sshd, for instance, finds that syslogd is running when it starts it 
> uses it,
> if not it uses the Windows event log.

> So all you need is to start syslogd, it works fine if all services are 
> started
> at the same time (automatic in services starup type).

What you say is correct. I am getting log lines in my sshd.log with
timestamps, and my filters in syslog-ng.conf are working.  However, I am
also still getting lines from sshd in my Application Event Log.

My goal is to stop the messages going to the Application Event Log.

Perhaps I'm off the track suggesting to change the options sent to 
cygrunsrv.
I only started thinking about that because the ssh-host-config script does 
use cygrunsrv. So, instead of suggesting options, I'll just ask: is there a 
way to stop sshd logging to the Application Event Log? If yes, how?

Thank you.





--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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