[syslog-ng]please help find the "parse error" in this small syslog-ng.conf...
syslog-ng@lists.balabit.hu
syslog-ng@lists.balabit.hu
Mon, 19 Jul 2004 16:20:34 -0700
This syslog-ng.conf:
options {long_hostnames(no);
keep_hostname(yes);
chain_hostnames(no);};
source client_sources {unix-stream("/dev/log"); pipe("/proc/kmsg"); internal();};
destination local_dest {file("/var/log/messages");};
destination remote_dest {tcp(ip("127.0.0.1") port(514));};
log {source(client_sources); destination(local_dest);};
log {source(client_sources); destination(remote_dest);};
gives this error messages when I try to use it...
[laptop root /etc/rc.d] # /usr/local/sbin/syslog-ng -f /etc/syslog-ng.conf
parse error at 8
Parse error reading configuration file, exiting. (line 8)
I've stared at this syslog-ng.conf for a long time and
can't see what the problem is. Any help would be
greatly appreciated.
Sincerely,
Chris