mirror of
https://github.com/psviderski/uncloud.git
synced 2026-10-06 13:18:58 +00:00
reduce log level for WG tunnel
This commit is contained in:
1 parent
160a15fe8f
commit
a59950631b
1 file changed
+1
-1
@@ -55,7 +55,7 @@ func Connect(config *Config) (*Tunnel, error) {
|
|||||||
return nil, fmt.Errorf("create WireGuard TUN device: %w", err)
|
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(
|
conf := fmt.Sprintf(
|
||||||
"private_key=%s\n"+
|
"private_key=%s\n"+
|
||||||
"public_key=%s\n"+
|
"public_key=%s\n"+
|
||||||
|
|||||||
Reference in new issue
Block a user