[syslog-ng]Entries being logged to /var/log/messages as well as
/var/log/HOSTS//$MONTH/$DAY/$HOST-$YEAR-$MONTH
Fred Turner
syslog-ng@lists.balabit.hu
Sat, 29 Jan 2005 12:58:02 -0500
Hi, I'm new to syslog-ng and have configured it to be a loghost for many dif=
ferent firewall appliances. So I setup an automatic sorting entry as per the=
faq as follows:=0A=0Adestination std {=0A file("/var/log/HOSTS/$MONT=
H/$DAY/$HOST-$YEAR-$MONTH-$DAY"=0A owner(root) group(root) pe=
rm(0600) dir_perm(0700) create_dirs(yes)=0A );=0A=0A=0AWhich works pr=
efect The only problem is that it's also putting them in the /var/log/messag=
es log.=0A=0AHow Can I stop the behavior as it's creating a huge /var/log/me=
ssages log.=0A=0A=0AThanks=0A=0A=0A=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=0A=0ANOTE: This email and any files transmitted with it are confid=
ential and intended solely for the use of the individual or entity to whom t=
hey are addressed. If you have received this email in error please notify th=
e sender. Please note that any views or opinions presented in this email are=
solely those of the author and do not necessarily represent those of BBi En=
terprises Inc. =
=0AFinally, the recipient should check this email and any attachments for th=
e presence of viruses. BBi Enterprises Inc. accepts no liability for any dam=
age caused by any virus transmitted by this email.=0A