Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 May 2020 09:56:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 246598] net-mgmt/librenms: Fix double logging
Message-ID:  <bug-246598-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246598

            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@FreeBSD.org
          Reporter: driesm.michiels@gmail.com
          Assignee: dvl@FreeBSD.org
             Flags: maintainer-feedback?(dvl@FreeBSD.org)

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

This patch adds a new rc_variable: librenms_logflags, which defaults to log=
ging
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 sys=
log
parameters. Also, I don't like ports including syslog or newsyslog sample f=
iles
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.

--=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-246598-7788>