This is the mail archive of the
cygwin
mailing list for the Cygwin project.
SOLVED Re: cygrunsrv stderr and stdout only to a syslog-ng log?
"René Berber" <r.berber@computer.org> 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" <corinna-cygwin@cygwin.com> 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/