[Bug 243453] Log duplication
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Jan 19 17:46:19 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243453
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 at FreeBSD.org
Reporter: michael.adm at 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.log)
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list