Date: Tue, 05 Jul 2022 21:00:04 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 265052] net-mgmt/telegraf: Add rc.conf configured logfile path, use daemon -H for logfile rotation Message-ID: <bug-265052-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265052 Bug ID: 265052 Summary: net-mgmt/telegraf: Add rc.conf configured logfile path, use daemon -H for logfile rotation Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: girgen@FreeBSD.org Reporter: leres@freebsd.org Flags: maintainer-feedback?(girgen@FreeBSD.org) Assignee: girgen@FreeBSD.org Make the logfile path configurable via telegraf_logfile in /etc/rc.conf. Use daemon -H to allow logfile rotation via newsyslog. Note that /var/log/telegraf is owned by telegraf:telegraf but since the dea= mon process that logs telegraf output runs as root one could argue there's no reason for the logfile to not default to /var/log/telegraf.log. I can adjus= t my patch to make this change if that is preferable. --=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-265052-7788>