Moved cache log lines to trace level

This commit is contained in:
Felipe M 2021-02-21 22:14:37 +01:00
parent 0385f95474
commit 5c6918e3ce
Signed by: fmartingr
GPG Key ID: 716BC147715E716F
1 changed files with 2 additions and 2 deletions

View File

@ -72,8 +72,8 @@ func doRequest(method string, requestURL string) (*Response, error) {
logrus.Tracef("Response body: %s", body)
// Write cache
logrus.Infof("Writting cache for %s", parsedURL.String())
logrus.Infof("Writting cache to: %s", getCacheFilename(parsedURL))
logrus.Tracef("Writting cache for %s", parsedURL.String())
logrus.Tracef("Writting cache to: %s", getCacheFilename(parsedURL))
errWriteCache := ioutil.WriteFile(getCachePath(parsedURL), body, 0644)
if errWriteCache != nil {
logrus.Warnf("Can't write to cache: %s", errWriteCache)