On Oct 10 13:43, Jaime Saiz Santos wrote: > >> Hi. > >> Is it possible to log messages to a remote syslogd server? > >> In theory it could be done by putting something like "*.* > >> @hostname" in /etc/syslog.conf. > > > >Why don't you just try? > > > Sorry. > I haven't said I have tried it before: it works for a local file, but it > does not work (for me) to a remote syslogd. > So hence the question. > > I've looked at previous posts about this issue, but they were more than > a year old, so I hoped the problem could be solved now. > > I put "local1.* @hostname" in syslog.conf > > and then: > > $ net stop syslogd > $ net start syslogd > $ logger -p local1.info Message to hostname > > But I don't found the message anywere, nor in the local > /var/log/messages nor in the remote one.
You must allow logging from remote hosts on the target machine. See the syslogd -s option. Remote logging from a Cygwin client syslogd to a Linux syslogd works fine here. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat, Inc. -- 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/