summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2016-08-03 16:06:10 (GMT)
committerChristian Pointner <equinox@helsinki.at>2016-08-03 16:06:10 (GMT)
commite3c391263a0bf57db8b7c1566a27de9cdc325647 (patch)
treef513f752e915840e703fde844be7407435c52946
parent012102accf5a3422675bb471925f41f379a73f09 (diff)
move some output to debug log
-rw-r--r--rhimport/fetcher.go8
1 files changed, 4 insertions, 4 deletions
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