Clarify redirect log messages.

This commit is contained in:
tastytea 2019-12-25 19:31:07 +01:00
parent d0ea315e08
commit 359bcacd1f
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 4 additions and 2 deletions

View File

@ -77,7 +77,8 @@ void Document::download(const string &uri)
throw HTTPException{response.code}; throw HTTPException{response.code};
} }
BOOST_LOG_TRIVIAL(debug) << "Feed has new location: " << _data.feedurl; BOOST_LOG_TRIVIAL(debug) << "Feed has new location (permanent): "
<< _data.feedurl;
_cfg.write(); _cfg.write();
download(); download();
break; break;
@ -92,7 +93,8 @@ void Document::download(const string &uri)
throw HTTPException{response.code}; throw HTTPException{response.code};
} }
BOOST_LOG_TRIVIAL(debug) << "Feed redirect: " << _data.feedurl; BOOST_LOG_TRIVIAL(debug) << "Feed has new location (temporary): "
<< _data.feedurl;
download(newuri); download(newuri);
break; break;
} }