mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-05 08:54:11 -04:00
Lower socket auto-discovery log from Info to Debug (#5463)
The discovery message was printing on every CLI invocation, which is noisy for users on distros using the systemd template.
This commit is contained in:
@@ -49,7 +49,7 @@ func ResolveUnixDaemonAddr(addr string) string {
|
||||
switch len(found) {
|
||||
case 1:
|
||||
resolved := "unix://" + found[0]
|
||||
log.Infof("Default daemon socket not found, using discovered socket: %s", resolved)
|
||||
log.Debugf("Default daemon socket not found, using discovered socket: %s", resolved)
|
||||
return resolved
|
||||
case 0:
|
||||
return addr
|
||||
|
||||
Reference in New Issue
Block a user