[syslog-ng]odd problem

Chad C. Walstrom chewie@wookimus.net
Mon, 2 Apr 2001 14:10:20 -0500


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