reduce log level for WG tunnel

This commit is contained in:
Pavel Sviderski
2024-09-06 10:02:52 +10:00
parent 160a15fe8f
commit a59950631b
+1 -1
View File
@@ -55,7 +55,7 @@ func Connect(config *Config) (*Tunnel, error) {
return nil, fmt.Errorf("create WireGuard TUN device: %w", err)
}
dev := device.NewDevice(tun, conn.NewDefaultBind(), device.NewLogger(device.LogLevelVerbose, "WireGuard tunnel: "))
dev := device.NewDevice(tun, conn.NewDefaultBind(), device.NewLogger(device.LogLevelError, "WireGuard tunnel: "))
conf := fmt.Sprintf(
"private_key=%s\n"+
"public_key=%s\n"+