X-Spam-Check-By: sourceware.org To: cygwin@cygwin.com From: "Bryan D. Thomas" Subject: SOLVED Re: cygrunsrv stderr and stdout only to a syslog-ng log? Date: Wed, 22 Mar 2006 06:59:37 -0800 Lines: 21 Message-ID: References: <20060321214505.62914.qmail@web31302.mail.mud.yahoo.com> <20060322133845.GC9091@calimero.vinschen.de> X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Delivered-To: mailing list cygwin@cygwin.com "René Berber" wrote: > The problem I guess is that you have more than one sshd process running, > are > the syslog messages the same as the ones in the event log? "Corinna Vinschen" wrote: > If you add a dependency to the sshd service, so that its only started when > syslog-ng is present, then you shouldn't see that problem anymore. Thanks again, René and Corinna. The Application Event Log messages stopped at one point during the day, and I was able to determine from the PID in the messages that the same messages were not being logged by syslog-ng. So it turned out that it was a sshd process that had started before or ended after syslog-ng. I used the sc.exe tool to add a dependency on syslog-ng to the sshd service, and I will modify my install instructions to add the -y option to the cygrunsrv install of sshd. Best regards, Bryan -- 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/