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: [email protected]
          Reporter: [email protected]

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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to