X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: "Bryan D. Thomas" 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: References: <20060321214505 DOT 62914 DOT qmail AT web31302 DOT mail DOT mud DOT yahoo DOT com> X-IsSubscribed: yes 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 Thank you for your response, René. "René Berber" 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/