Add quotes around the ip address.

On Jun 9, 2015 12:56 AM, "westlake" <westlake2012@videotron.ca> wrote:
I'm not sure why i'm getting this error,

output:
syslog-ng --syntax-only
Error parsing afsocket, syntax error, unexpected KW_IP, expecting
LL_IDENTIFIER or LL_STRING in /etc/syslog-ng/syslog-ng.conf at line 31,
column 9:
syslog( ip(1.1.1.1) port(601) transport("tcp")  );


mind me i'm new to syslog but i'm following the example from the online
manual, not sure why this isn't working

thanks
______________________________________________________________________________
Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
FAQ: http://www.balabit.com/wiki/syslog-ng-faq