7 Mar
2001
7 Mar
'01
9:03 p.m.
i would like to have syslog-ng log to two destinations...is that possible? ie... filter mail_filt { facility(mail) or facility(local4); }; destination maillogs { file("/var/log/ng/maillogs/$YEAR$MONTH$DAY/$FACILITY.$PRIORITY.$HOUR" dir_perm(0755) perm(0644)); }; destination loghost { udp(host=x,port=y); # note, i know this is wrong...i will make it right when i actually do the config }; log { source(src); destination(maillogs); destination(loghost); filter(mail_filt); };