Date: Thu, 31 Aug 2017 15:29:24 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 221960] databases/influxdb: Log to syslog patch Message-ID: <bug-221960-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-221960-13>