From 7ac00e189b8ddaa7654c61becdd1c3391e6df50a Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Tue, 1 Jul 2014 11:58:53 +0200 Subject: [PATCH] Tone down UPnP not found message (fixes #406) --- cmd/syncthing/main.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cmd/syncthing/main.go b/cmd/syncthing/main.go index d5fc32aa..ba64fd38 100644 --- a/cmd/syncthing/main.go +++ b/cmd/syncthing/main.go @@ -483,7 +483,10 @@ func setupUPnP(r rand.Source) int { l.Warnln("Failed to create UPnP port mapping") } } else { - l.Infof("No UPnP IGD device found, no port mapping created (%v)", err) + l.Infof("No UPnP gateway detected") + if debugNet { + l.Debugf("UPnP: %v", err) + } } } } else {