On 2007-05-20 04:31, Carlos E. R. wrote:
The Sunday 2007-05-20 at 11:27 +1000, Registration Account wrote:
My simple aim is to listen to UDP 514 on IP/ x /and create a text file. I really don't need to filter or define the file format as the input devise provides all date and time stamping information.
I don't think that's possible. The data is timestamped and formatted locally by the daemon. But I haven't tried, anyway.
Actually, you can format the log file almost any way you want it, otherwise I suspect you get a default format. See /usr/share/doc/packages/syslog-ng/html/x359.html#AEN362. Here is the example from that file: destination d_file { file("/var/log/$YEAR.$MONTH.$DAY/messages" template("$HOUR:$MIN:$SEC $TZ $HOST [$LEVEL] $MSG $MSG\n") template_escape(no) ); }; There is a rather large number of macros that can be used both to name a log file and to format that file. See /usr/share/doc/packages/syslog-ng/html/book1.html for the complete documentation. -- Moral indignation is jealousy with a halo. -- HG Wells -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org