[GH-ISSUE #1764] netbird even log higher level when not set or set to info #3280

Open
opened 2026-08-05 00:51:36 -04:00 by saavagebueno · 0 comments
Owner

Originally created by @lfarkas on GitHub (Mar 28, 2024).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/1764

in home assistant we run it as :
netbird up --foreground-mode --config /config/netbird/config.json --log-file console --setup-key xxxxx --hostname yyyy
but the log still full with such lines:

time=2024-03-28T12:06:35.985+01:00 level=DEBUG msg="Skipping handshake due to missing endpoint" pid="WozkqsNH0R2gGzIyEFqjWuLvcfuI+wrTl8Q/wd6AXmg="
time=2024-03-28T12:06:35.988+01:00 level=DEBUG msg="Added peer" pid="WozkqsNH0R2gGzIyEFqjWuLvcfuI+wrTl8Q/wd6AXmg="
2024-03-28T12:06:35+01:00 INFO client/internal/peer/conn.go:375: connected to peer hCDjKQBW9TBwsZigTRXxvVzpAYE+ZqDHBol4sOSUMl0=, endpoint address: 185.199.30.141:43358
time=2024-03-28T12:06:36.027+01:00 level=DEBUG msg="Skipping handshake due to missing endpoint" pid="y9muQSHT3YHV0QugCUP+oH6TevaeJiN0UrlQ22Cd9vk="
time=2024-03-28T12:06:36.029+01:00 level=DEBUG msg="Added peer" pid="y9muQSHT3YHV0QugCUP+oH6TevaeJiN0UrlQ22Cd9vk="
2024-03-28T12:06:36+01:00 INFO client/internal/peer/conn.go:375: connected to peer gsrpCbJwc8lkmNV783rxIHpyj+zZIhy/rFj5HsfVuBY=, endpoint address: 10.4.4.1:51820
time=2024-03-28T12:06:36.032+01:00 level=DEBUG msg="Handling message" type=InitHello
time=2024-03-28T12:06:36.046+01:00 level=DEBUG msg="Skipping handshake due to missing endpoint" pid="4gwHVFRbiUK4dEKIyjDxvnmgdCmMfDR0MWze2fzuY3U="

even if i set loglevel with:
netbird up --foreground-mode --config /config/netbird/config.json --log-file console --setup-key xxxxx --hostname yyyy --log-level info
i still got these DEBUG lines.

IMHO this is a bug and not a feature.

Originally created by @lfarkas on GitHub (Mar 28, 2024). Original GitHub issue: https://github.com/netbirdio/netbird/issues/1764 in home assistant we run it as : `netbird up --foreground-mode --config /config/netbird/config.json --log-file console --setup-key xxxxx --hostname yyyy` but the log still full with such lines: ``` time=2024-03-28T12:06:35.985+01:00 level=DEBUG msg="Skipping handshake due to missing endpoint" pid="WozkqsNH0R2gGzIyEFqjWuLvcfuI+wrTl8Q/wd6AXmg=" time=2024-03-28T12:06:35.988+01:00 level=DEBUG msg="Added peer" pid="WozkqsNH0R2gGzIyEFqjWuLvcfuI+wrTl8Q/wd6AXmg=" 2024-03-28T12:06:35+01:00 INFO client/internal/peer/conn.go:375: connected to peer hCDjKQBW9TBwsZigTRXxvVzpAYE+ZqDHBol4sOSUMl0=, endpoint address: 185.199.30.141:43358 time=2024-03-28T12:06:36.027+01:00 level=DEBUG msg="Skipping handshake due to missing endpoint" pid="y9muQSHT3YHV0QugCUP+oH6TevaeJiN0UrlQ22Cd9vk=" time=2024-03-28T12:06:36.029+01:00 level=DEBUG msg="Added peer" pid="y9muQSHT3YHV0QugCUP+oH6TevaeJiN0UrlQ22Cd9vk=" 2024-03-28T12:06:36+01:00 INFO client/internal/peer/conn.go:375: connected to peer gsrpCbJwc8lkmNV783rxIHpyj+zZIhy/rFj5HsfVuBY=, endpoint address: 10.4.4.1:51820 time=2024-03-28T12:06:36.032+01:00 level=DEBUG msg="Handling message" type=InitHello time=2024-03-28T12:06:36.046+01:00 level=DEBUG msg="Skipping handshake due to missing endpoint" pid="4gwHVFRbiUK4dEKIyjDxvnmgdCmMfDR0MWze2fzuY3U=" ``` even if i set loglevel with: `netbird up --foreground-mode --config /config/netbird/config.json --log-file console --setup-key xxxxx --hostname yyyy --log-level info` i still got these DEBUG lines. IMHO this is a bug and not a feature.
saavagebueno added the bug label 2026-08-05 00:51:36 -04:00
Sign in to join this conversation.
No Label bug
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#3280