From e3c391263a0bf57db8b7c1566a27de9cdc325647 Mon Sep 17 00:00:00 2001
From: Christian Pointner <equinox@helsinki.at>
Date: Wed, 3 Aug 2016 18:06:10 +0200
Subject: move some output to debug log


diff --git a/rhimport/fetcher.go b/rhimport/fetcher.go
index 2b17951..7a946f6 100644
--- a/rhimport/fetcher.go
+++ b/rhimport/fetcher.go
@@ -248,7 +248,7 @@ func fetchFileCurl(ctx *Context, res *Result, uri *url.URL) (err error) {
 	var convErr error
 	if cbdata.conv != nil {
 		cbdata.conv.Close()
-		ctx.stdlog.Printf("waiting for converter to finish...")
+		ctx.dbglog.Printf("waiting for converter to finish...")
 		convOut, convErr = cbdata.conv.GetResult(ctx, res)
 	}
 	if err != nil || cbdata.writeError != nil || convErr != nil {
@@ -379,7 +379,7 @@ func fetchFileArchiv(ctx *Context, res *Result, uri *url.URL) (err error) {
 	var convErr error
 	if cbdata.conv != nil {
 		cbdata.conv.Close()
-		ctx.stdlog.Printf("waiting for converter to finish...")
+		ctx.dbglog.Printf("waiting for converter to finish...")
 		convOut, convErr = cbdata.conv.GetResult(ctx, res)
 	}
 	if err != nil || cbdata.writeError != nil || convErr != nil {
@@ -471,7 +471,7 @@ func fetchFileDirConvert(ctx *Context, res *Result, origSrc *os.File, sizeTotal
 		return nil
 	}
 
-	ctx.stdlog.Printf("waiting for converter to finish...")
+	ctx.dbglog.Printf("waiting for converter to finish...")
 	convOut, convErr := conv.GetResult(ctx, res)
 	if convErr != nil {
 		if res.ResponseCode == http.StatusNoContent {
@@ -684,7 +684,7 @@ func fetchFileAttachment(ctx *Context, res *Result, uri *url.URL) error {
 		return nil
 	}
 
-	ctx.stdlog.Printf("waiting for converter to finish...")
+	ctx.dbglog.Printf("waiting for converter to finish...")
 	convOut, convErr := conv.GetResult(ctx, res)
 	if err != nil {
 		return err
-- 
cgit v0.10.2