Quantcast

Can Cygwin's command logger output be changed from Windows event log to / var / log / messages?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Can Cygwin's command logger output be changed from Windows event log to / var / log / messages?

あ
The Cygwin command logger is output to the Windows event log by default. Can I change the output destination to / var / log / messages?

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Can Cygwin's command logger output be changed from Windows event log to / var / log / messages?

Brian Inglis
On 2017-05-16 05:36, あ wrote:
> The Cygwin command logger is output to the Windows event log by
> default. Can I change the output destination to /var/log/messages?

Install package syslog-ng and run syslog-ng-config from an elevated
admin shell to set up syslogd to run under cygrunsrv.

--
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Can Cygwin's command logger output be changed from Windows event log to / var / log / messages?

あ
In reply to this post by あ
Thank you for your reply. When executed by the following procedure, it was able to output the logger log to / var / log / messages. �@ Install syslog-ng �A Execute syslog-ng-config with administrator authority �B Started with "$ netstart syslog-ng" �C Log output with logger �D Confirm log is output to / var / log / messages Thank you very much.
--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Loading...