[syslog-ng]Greetings, and a syntax error...

Jeff Dell syslog-ng@lists.balabit.hu
Sat, 8 May 2004 00:01:14 -0400

Try removing the quotes from the ip address... Like the following:  

source s_tcp { tcp(ip( port(1028) max-connections(2)); };


-----Original Message-----
From: syslog-ng-admin@lists.balabit.hu
[mailto:syslog-ng-admin@lists.balabit.hu] On Behalf Of mark
Sent: Friday, May 07, 2004 11:46 PM
To: syslog-ng@lists.balabit.hu
Subject: [syslog-ng]Greetings, and a syntax error...

Good evening. Greetings to all users on this list, I've just signed up.
Primarily I wanted syslog-ng to do secure remote logging by piping it
stunnel or ssh, but now I've had some time with the config file, I much
prefer the syntax.

A problem.

I have a syntax error in my config file somewhere, and I just can't see it.
syslog-ng gives the incredibly helpful:

syntax error in 3
Parse error reading configuration file, exiting. (line 3)

I've tried every variation I can think of on this line. Anyway, here is the
config file:

options { sync(0); };

source src { unix-dgram("/dev/log"); internal(); owner("syslog-ng");
group("syslog-ng"); perm(0600); };

source s_tcp { tcp( port(1028) ip("") max-connections(2)); };