From 804b6b56baff807c57d671a88416b816847f4b16 Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Sat, 13 May 2023 12:56:54 +0000 Subject: [PATCH] feat: debug logging for download --- cache/cache.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cache/cache.go b/cache/cache.go index b9930c4..1f0e005 100644 --- a/cache/cache.go +++ b/cache/cache.go @@ -49,6 +49,8 @@ func DownloadQemuImage(path, file string) (err error) { return } + log.Debug().Msgf("download qemu image from %s", fileurl) + resp, err := grab.Get(tmp, fileurl) if err != nil { err = fmt.Errorf("Cannot download %s. It looks like you need "+ @@ -77,6 +79,8 @@ func DownloadDebianCache(cachePath string) (err error) { return } + log.Debug().Msgf("download debian cache from %s", fileurl) + resp, err := grab.Get(tmp, fileurl) if err != nil { return