Moved cache log lines to trace level
This commit is contained in:
parent
0385f95474
commit
5c6918e3ce
4
http.go
4
http.go
|
@ -72,8 +72,8 @@ func doRequest(method string, requestURL string) (*Response, error) {
|
||||||
logrus.Tracef("Response body: %s", body)
|
logrus.Tracef("Response body: %s", body)
|
||||||
|
|
||||||
// Write cache
|
// Write cache
|
||||||
logrus.Infof("Writting cache for %s", parsedURL.String())
|
logrus.Tracef("Writting cache for %s", parsedURL.String())
|
||||||
logrus.Infof("Writting cache to: %s", getCacheFilename(parsedURL))
|
logrus.Tracef("Writting cache to: %s", getCacheFilename(parsedURL))
|
||||||
errWriteCache := ioutil.WriteFile(getCachePath(parsedURL), body, 0644)
|
errWriteCache := ioutil.WriteFile(getCachePath(parsedURL), body, 0644)
|
||||||
if errWriteCache != nil {
|
if errWriteCache != nil {
|
||||||
logrus.Warnf("Can't write to cache: %s", errWriteCache)
|
logrus.Warnf("Can't write to cache: %s", errWriteCache)
|
||||||
|
|
Loading…
Reference in New Issue