changing log levels

Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
This commit is contained in:
Csaba Kiraly 2025-04-08 18:44:51 +02:00
parent c118dfa54c
commit d984c79585
No known key found for this signature in database
GPG key ID: 0FE274EE8C95166E

View file

@ -114,7 +114,7 @@ func (n *upnp) addAnyPortMapping(protocol string, extport, intport int, ip net.I
if err == nil {
return uint16(extport), nil
}
log.Trace("Failed to add port mapping", "protocol", protocol, "extport", extport, "intport", intport, "err", err)
log.Debug("Failed to add port mapping", "protocol", protocol, "extport", extport, "intport", intport, "err", err)
}
// If above fails, we retry with a random port.
@ -128,7 +128,7 @@ func (n *upnp) addAnyPortMapping(protocol string, extport, intport int, ip net.I
if err == nil {
return uint16(extport), nil
}
log.Trace("Failed to add random port mapping", "protocol", protocol, "extport", extport, "intport", intport, "err", err)
log.Debug("Failed to add random port mapping", "protocol", protocol, "extport", extport, "intport", intport, "err", err)
}
return 0, err
}