Date: Sun, 19 Jan 2020 17:46:18 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 243453] Log duplication Message-ID: <bug-243453-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243453 Bug ID: 243453 Summary: Log duplication Product: Base System Version: CURRENT Hardware: amd64 OS: Any Status: New Severity: Affects Many People Priority: --- Component: conf Assignee: bugs@FreeBSD.org Reporter: michael.adm@gmail.com How to exclude logging duplication from certain programs? I have a standard /etc/syslog.conf and create an additional file in /etc/syslog.d/ with the following contents: !ovpn1 *.* /var/log/ovpn/ovpn1.log !-ovpn1 !ovpn2 *.* /var/log/ovpn/ovpn2.log !-ovpn2 !ovpn3 *.* /var/log/ovpn/ovpn3.log !-ovpn3 !ovpn4 *.* /var/log/ovpn/ovpn4.log !-ovpn4 . . . cut here . . . !ovpn158 *.* /var/log/ovpn/ovpn158.log !-ovpn158 Unfortunately, the output from the programs goes to /var/log/messages and to /var/log/daemon.log all the same, exactly like the assigned files in the additional config file (/var/log/ovpn/ovpn1.log ... /var/log/ovpn/ovpn158.l= og) --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-243453-227>