mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 19:13:34 +00:00
reduce log level for WG tunnel
This commit is contained in:
@@ -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"+
|
||||
|
||||
Reference in New Issue
Block a user