[Bug 246598] net-mgmt/librenms: Fix double logging

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed May 20 09:57:00 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246598

            Bug ID: 246598
           Summary: net-mgmt/librenms: Fix double logging
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: dvl at FreeBSD.org
          Reporter: driesm.michiels at gmail.com
          Assignee: dvl at FreeBSD.org
             Flags: maintainer-feedback?(dvl at FreeBSD.org)

Created attachment 214687
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=214687&action=edit
librenms.diff

This patch adds a new rc_variable: librenms_logflags, which defaults to logging
to a logfile. When overwriting this variable from rc.conf by eg "-S -T
librenms", this can be used to use syslog instead of direct logfile logging.

I default to logfile logging because not everyone wants to use the same syslog
parameters. Also, I don't like ports including syslog or newsyslog sample files
because of the various flags people tend to keep consistent. EG compression on
or off for newsyslog rotation probably depends on if you have ZFS (already
compressed) or UFS.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list