-
[client] Prevent corruption from competing log rotation and improve debug bundle (#6214)
Some checks failedRelease / FreeBSD Port / Build & Test (push) Has been cancelledRelease / release (push) Has been cancelledRelease / release_ui (push) Has been cancelledRelease / release_ui_darwin (push) Has been cancelledRelease / Windows Installer / Build Test (amd64, amd64) (push) Has been cancelledRelease / Windows Installer / Build Test (arm64, arm64) (push) Has been cancelledRelease / Comment release artifacts (push) Has been cancelledRelease / trigger_signer (push) Has been cancelledsync tag / trigger_sync_tag (push) Has been cancelledsync tag / trigger_android_bump (push) Has been cancelledsync tag / trigger_ios_bump (push) Has been cancelledupdate docs / trigger_docs_api_update (push) Has been cancelledreleased this
2026-06-04 23:36:45 +08:00 | 42 commits to main since this release-
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
Downloads
-