From 359bcacd1f5297fc26605c17e6b0f3f4edc31fd9 Mon Sep 17 00:00:00 2001 From: tastytea Date: Wed, 25 Dec 2019 19:31:07 +0100 Subject: [PATCH] Clarify redirect log messages. --- src/document.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/document.cpp b/src/document.cpp index 118de6c..6ef7d08 100644 --- a/src/document.cpp +++ b/src/document.cpp @@ -77,7 +77,8 @@ void Document::download(const string &uri) 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(); download(); break; @@ -92,7 +93,8 @@ void Document::download(const string &uri) 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); break; }