changeset 1035:b0364b8226e0

Fixed another case of inconsistent logging.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Wed, 24 Oct 2018 15:52:12 +0200
parents 4299f9c1f191
children ae2e716b85d2
files pkg/geoserver/reconf.go
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pkg/geoserver/reconf.go	Wed Oct 24 15:38:07 2018 +0200
+++ b/pkg/geoserver/reconf.go	Wed Oct 24 15:52:12 2018 +0200
@@ -60,7 +60,7 @@
 		if try < maxTries {
 			if uerr, ok := err.(*url.Error); ok {
 				if oerr, ok := uerr.Err.(*net.OpError); ok && oerr.Op == "dial" {
-					log.Printf("Failed attempt %d of %d to configure GeoServer. "+
+					log.Printf("warn: failed attempt %d of %d to configure GeoServer. "+
 						"Will try again in %s...\n", try, maxTries, sleep)
 					time.Sleep(sleep)
 					continue