syslog-ng-1.4.11/ libol-0.2.21/ i guess i'll try upgrading.... how does one log to multiple destinations without putting everything into the same destination XXX {} container? i've tried seperate destinations ie... destination x { tcp(208.210.124.50 port(514)); } destinayion y { file("/var/log/ng/$HOST/$YEAR$MONTH$DAY/$FACILITY.$PRIORITY" dir_perm(0755) perm(0644)) } and then in the log directive log { source(src); destination(x); destination(y); } but that gives me errors On Mon, Apr 02, 2001 at 02:10:20PM -0500, Chad C. Walstrom wrote: | On Mon, Apr 02, 2001 at 01:51:27PM -0400, jon@dumbo.pobox.com wrote: | > destination macrogenerateddaily { | > tcp(208.210.124.50 port(514)); | > file("/var/log/ng/$HOST/$YEAR$MONTH$DAY/$FACILITY.$PRIORITY" | > dir_perm(0755) perm(0644)); | > }; | | > now....we lost internet connectivity (so the tcp link failed) | > unfortunately, it also stopped logging to the disk. does it log to | > destinations, then just die as soon as one fails? | | Ouch. Probably a bug. What version are you running? Also, obvious | workaround for now is to create a new destination with just the file | as a driver and double your "log" entries. | | -- | Chad Walstrom <chewie@wookimus.net> | a.k.a. ^chewie | http://www.wookimus.net/ | s.k.a. gunnarr | Key fingerprint = B4AB D627 9CBD 687E 7A31 1950 0CC7 0B18 206C 5AFD | | | _______________________________________________ | syslog-ng maillist - syslog-ng@lists.balabit.hu | https://lists.balabit.hu/mailman/listinfo/syslog-ng