[PR #4933] [MERGED] [management] cleanup logs #21611

Closed
opened 2026-08-05 05:08:43 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/4933
Author: @pascal-fischer
Created: 12/10/2025
Status: Merged
Merged: 12/10/2025
Merged by: @pascal-fischer

Base: mainHead: chore/cleanup-logs


📝 Commits (3)

📊 Changes

7 files changed (+9 additions, -108 deletions)

View changed files

📝 management/internals/shared/grpc/server.go (+1 -28)
📝 management/internals/shared/grpc/token_mgr.go (+3 -3)
📝 management/server/http/middleware/auth_middleware.go (+1 -1)
📝 management/server/peer.go (+1 -4)
📝 management/server/posture/os_version.go (+2 -2)
📝 management/server/settings/manager.go (+0 -8)
📝 management/server/store/sql_store.go (+1 -62)

📄 Description

Describe your changes

Stack

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)

By submitting this pull request, you confirm that you have read and agree to the terms of the Contributor License Agreement.

Documentation

Select exactly one:

  • I added/updated documentation for this change
  • Documentation is not needed for this change (explain why)

Docs PR URL (required if "docs added" is checked)

Paste the PR link from https://github.com/netbirdio/docs here:

https://github.com/netbirdio/docs/pull/__

Summary by CodeRabbit

  • Chores
    • Reduced log verbosity and removed redundant timing instrumentation across server and service components, lowering noise from lifecycle and performance logs.
    • Simplified internal context/debugging instrumentation by removing extra debug-context wrappers and related timing/logging, preserving functional behavior.

✏️ Tip: You can customize this high-level summary in your review settings.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbirdio/netbird/pull/4933 **Author:** [@pascal-fischer](https://github.com/pascal-fischer) **Created:** 12/10/2025 **Status:** ✅ Merged **Merged:** 12/10/2025 **Merged by:** [@pascal-fischer](https://github.com/pascal-fischer) **Base:** `main` ← **Head:** `chore/cleanup-logs` --- ### 📝 Commits (3) - [`7682303`](https://github.com/netbirdio/netbird/commit/7682303acd362304c33785db5779ba7b1dd69240) update log levels - [`7923962`](https://github.com/netbirdio/netbird/commit/7923962a78bf9694df0a1dedb8f7a9f5fac3d116) fix imports - [`cdbbe82`](https://github.com/netbirdio/netbird/commit/cdbbe82dba3d428d4b633693b63a433f7cecf8cc) bring getPeerPostureChecks timing back ### 📊 Changes **7 files changed** (+9 additions, -108 deletions) <details> <summary>View changed files</summary> 📝 `management/internals/shared/grpc/server.go` (+1 -28) 📝 `management/internals/shared/grpc/token_mgr.go` (+3 -3) 📝 `management/server/http/middleware/auth_middleware.go` (+1 -1) 📝 `management/server/peer.go` (+1 -4) 📝 `management/server/posture/os_version.go` (+2 -2) 📝 `management/server/settings/manager.go` (+0 -8) 📝 `management/server/store/sql_store.go` (+1 -62) </details> ### 📄 Description ## Describe your changes ## Issue ticket number and link ## Stack <!-- branch-stack --> ### Checklist - [ ] Is it a bug fix - [ ] Is a typo/documentation fix - [ ] Is a feature enhancement - [ ] It is a refactor - [ ] Created tests that fail without the change (if possible) > By submitting this pull request, you confirm that you have read and agree to the terms of the [Contributor License Agreement](https://github.com/netbirdio/netbird/blob/main/CONTRIBUTOR_LICENSE_AGREEMENT.md). ## Documentation Select exactly one: - [ ] I added/updated documentation for this change - [x] Documentation is **not needed** for this change (explain why) ### Docs PR URL (required if "docs added" is checked) Paste the PR link from https://github.com/netbirdio/docs here: https://github.com/netbirdio/docs/pull/__ <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Reduced log verbosity and removed redundant timing instrumentation across server and service components, lowering noise from lifecycle and performance logs. * Simplified internal context/debugging instrumentation by removing extra debug-context wrappers and related timing/logging, preserving functional behavior. <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2026-08-05 05:08:43 -04:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#21611