Yes, this is possible. Regards, Drew
-----Original Message----- From: jon@dumbo.pobox.com [SMTP:jon@dumbo.pobox.com] Sent: Wednesday, March 07, 2001 10:04 PM To: syslog-ng@lists.balabit.hu Subject: [syslog-ng]multiple destinations?
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); };
_______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/syslog-ng
participants (1)
-
Hamilton, Andrew Mr RAYTHEON 5 SIG CMD