Cygwin Wiki
Advertisement

Introduction[]

This article goes over the methods to handle cygwin application output.

Using syslogd[]

By default, if syslogd is not installed, your Windows event viewer will be riddled with events from your cygwin binaries like so:


The description for Event ID ( 0 ) in Source ( /usr/sbin/cron ) cannot be found.

Sources

http://ronrothman.com/public/leftbraned/cygwin-cron-spurious-messages-in-event-viewer/

http://cygwin.com/ml/cygwin/2004-07/msg00385.html

http://www.cygwin.com/ml/cygwin/2004-11/msg00134.html

Using log files[]

Be sure to make your log file accessible to the user:


    $ chown -R userid /var/empty
    $ chown userid /etc/ssh*
    ]


[http://www.cygwin.com/ml/cygwin/2004-11/msg00134.html Where the userid is... ]

Advertisement