[Bug 265052] net-mgmt/telegraf: Add rc.conf configured logfile path, use daemon -H for logfile rotation
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 05 Jul 2022 21:00:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265052 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 deamon 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 adjust my patch to make this change if that is preferable. -- You are receiving this mail because: You are the assignee for the bug.