[syslog-ng] unable to use tcp/udp forward.

Un L'Unique un@pebble.dhs.org
Thu, 17 Feb 2000 13:37:26 +0100


Balazs Scheidler wrote:
> 
> On Tue, Feb 15, 2000 at 03:28:47PM +0100, User Un wrote:
> >
> >
> >       Hello,
> >
> >       I am evaluating syslog-ng as we want TCP ( reliable) syslog message,
> > however, I am unable to comply due to strange "syntax error":
> >
> > destination all
> > {
> > #     file( "/tmp/messages");                 # ok
> > #     tcp( ip( 172.16.32.35) port( 1999));    # nok
> > #     udp( ip( 172.16.32.35) port( 514));     # nok
> >       udp( 172.16.32.35,514);                 # nok
> > #     usertty( un);                           # ok
> > #     program( "cat >/tmp/messges_cat");      # ok
> >
> > };
> >
> > all "nok" failed with error like:
> > /net/ts/opt/syslog-ng-1.3.14/sbin/syslog-ng -f
> > /net/ts/opt/syslog-ng-1.3.14/etc/syslog-ng.conf -d -v
> > parse error at 33
> > Parse error reading configuration file, exiting.
> 
> destination all { tcp("172.16.32.35" port(514)); };
> 
thanks, it works well.

S.R.