[syslog-ng]Using logger with syslog-ng
Vaibhav Goel
syslog-ng@lists.balabit.hu
Tue, 14 Dec 2004 12:08:15 -0800
Hi all,
I am new syslog-ng user. I am trying to figure out how to get a loghost
going and taking baby steps with the documentation available :-)
I got syslog-ng configured on a Linux server as such:
source s_test {
tcp(ip(0.0.0.0) port(514));
};
destination d_test {
file("/var/log/test.log");
};
log {
source(s_test);
destination(d_test);
};
I can connect to localhost on 514 fine:
telnet localhost 514
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
So it appears that syslog-ng is at least running fine.
I would like to use logger to send a test log message to syslog-ng. I
googled and looked at the FAQ and docs but cannot find a way. Can
anyone help or point me to a relevant document I could read? :-)
Thanks!