[syslog-ng]Entries being logged to /var/log/messages as well
as /var/log/HOSTS//$MONTH/$DAY/$HOST-$YEAR-$MONTH
Bill Nash
syslog-ng@lists.balabit.hu
Sat, 29 Jan 2005 10:15:26 -0800 (PST)
Can you include your log directive? Chances are, that's the culprit.
- billn
On Sat, 29 Jan 2005, Fred Turner wrote:
> Hi, I'm new to syslog-ng and have configured it to be a loghost for many different firewall appliances. So I setup an automatic sorting entry as per the faq as follows:
>
> destination std {
> file("/var/log/HOSTS/$MONTH/$DAY/$HOST-$YEAR-$MONTH-$DAY"
> owner(root) group(root) perm(0600) dir_perm(0700) create_dirs(yes)
> );
>
>
> Which works prefect The only problem is that it's also putting them in the /var/log/messages log.
>
> How Can I stop the behavior as it's creating a huge /var/log/messages log.
>
>
> Thanks
>
>
> ==================================================================
>
> NOTE: This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the 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 Enterprises Inc.
> Finally, the recipient should check this email and any attachments for the presence of viruses. BBi Enterprises Inc. accepts no liability for any damage caused by any virus transmitted by this email.
>
>
> _______________________________________________
> syslog-ng maillist - syslog-ng@lists.balabit.hu
> https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
>
>