From owner-freebsd-ports-bugs@freebsd.org  Thu Aug 31 15:29:24 2017
Return-Path: <owner-freebsd-ports-bugs@freebsd.org>
Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id ECF1FE00491
 for <freebsd-ports-bugs@mailman.ysv.freebsd.org>;
 Thu, 31 Aug 2017 15:29:24 +0000 (UTC)
 (envelope-from bugzilla-noreply@freebsd.org)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id DB64980C5C
 for <freebsd-ports-bugs@FreeBSD.org>; Thu, 31 Aug 2017 15:29:24 +0000 (UTC)
 (envelope-from bugzilla-noreply@freebsd.org)
Received: from bugs.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v7VFTOfg048817
 for <freebsd-ports-bugs@FreeBSD.org>; Thu, 31 Aug 2017 15:29:24 GMT
 (envelope-from bugzilla-noreply@freebsd.org)
From: bugzilla-noreply@freebsd.org
To: freebsd-ports-bugs@FreeBSD.org
Subject: [Bug 221960] databases/influxdb: Log to syslog patch
Date: Thu, 31 Aug 2017 15:29:24 +0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Ports & Packages
X-Bugzilla-Component: Ports Framework
X-Bugzilla-Version: Latest
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: sascha@root-login.org
X-Bugzilla-Status: New
X-Bugzilla-Resolution: 
X-Bugzilla-Priority: ---
X-Bugzilla-Assigned-To: portmgr@FreeBSD.org
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform
 op_sys bug_status bug_severity priority component assigned_to reporter cc
 attachments.created
Message-ID: <bug-221960-13@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-BeenThere: freebsd-ports-bugs@freebsd.org
X-Mailman-Version: 2.1.23
Precedence: list
List-Id: Ports bug reports <freebsd-ports-bugs.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-ports-bugs>, 
 <mailto:freebsd-ports-bugs-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-ports-bugs/>
List-Post: <mailto:freebsd-ports-bugs@freebsd.org>
List-Help: <mailto:freebsd-ports-bugs-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs>, 
 <mailto:freebsd-ports-bugs-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 31 Aug 2017 15:29:25 -0000

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

            Bug ID: 221960
           Summary: databases/influxdb: Log to syslog patch
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr@FreeBSD.org
          Reporter: sascha@root-login.org
                CC: freebsd-ports-bugs@FreeBSD.org

Created attachment 185951
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D185951&action=
=3Dedit
influx syslog patch

Hi,

the logfile redirection for influxdb doesn't seem to work, at least for me.
Starting influxdb in jail bounces the complete output to the console.

daemon(8) now has the options to redirect the childs stderr and stdout to a
file or to syslog. I first thought about redirecting to a file but daemon(8)
does not seem to implement a rotation scheme for it's output files. There is
nothing that handles SIGHUP, SIGUSR1, ... So sending to syslog seems the mo=
st
flexible way.

The following patch implements just that and adds an influxd_facility varia=
ble
to change the default syslog facility (daemon).

--=20
You are receiving this mail because:
You are on the CC list for the bug.=