changeset 1760:22148eb0f986

More on harmonizing logging.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Thu, 10 Jan 2019 18:06:30 +0100
parents 0edebe44067d
children 0145537d5474
files pkg/controllers/geostyling.go pkg/imports/queue.go
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/pkg/controllers/geostyling.go	Thu Jan 10 17:21:51 2019 +0100
+++ b/pkg/controllers/geostyling.go	Thu Jan 10 18:06:30 2019 +0100
@@ -73,7 +73,7 @@
 		return
 	}
 
-	log.Printf("uploaded file length: %d\n", len(style))
+	log.Printf("info: uploaded file length: %d\n", len(style))
 
 	if err := models.UpdateInternalStyle(req, feature, style); err != nil {
 		log.Printf("error: %v\n", err)
--- a/pkg/imports/queue.go	Thu Jan 10 17:21:51 2019 +0100
+++ b/pkg/imports/queue.go	Thu Jan 10 18:06:30 2019 +0100
@@ -331,7 +331,7 @@
 		return err
 	})
 	if err != nil {
-		log.Printf("logging failed: %v\n", err)
+		log.Printf("error: logging failed: %v\n", err)
 	}
 }