mirror of
https://github.com/netbirdio/netbird.git
synced 2026-07-16 11:39:57 +00:00
* Adds heuristic to detect an edge case on Linux where a system has configured logrotate as a separate service to rotate log files which would mangle our client log files. If we detect logrotate being configured for netbird, we disable our rotation. * Adds new env var to disable log rotation: NB_LOG_DISABLE_ROTATION * Adds compressed and plain logrotate files to debug bundle. * Replaces lumberjack with timberjack (maintained fork with bug fixes and extra features). * Clarifies which daemon version is running in the bundle stats. * Change logging for client service status to console
11 lines
268 B
Go
11 lines
268 B
Go
//go:build !linux
|
|
|
|
package util
|
|
|
|
// FindLogrotateConflicts scans the standard logrotate locations for
|
|
// indications of conflict with netbird. It will always return false for
|
|
// non-linux devices.
|
|
func FindFirstLogrotateConflict() (bool, string) {
|
|
return false, ""
|
|
}
|