1
0
Fork 0

wrong verbosity info on redirects

This commit is contained in:
Kaveh Vahedipour 2016-10-21 17:08:50 +02:00
parent aee23cc9a5
commit d19beb661f
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ void RestAgencyHandler::redirectRequest(std::string const& leaderId) {
_request->requestPath();
_response->setResponseCode(rest::ResponseCode::TEMPORARY_REDIRECT);
_response->setHeaderNC(StaticStrings::Location, url);
LOG_TOPIC(INFO, Logger::AGENCY) << "Sending 307 redirect to " << url;
LOG_TOPIC(DEBUG, Logger::AGENCY) << "Sending 307 redirect to " << url;
} catch (std::exception const& e) {
LOG_TOPIC(WARN, Logger::AGENCY) << e.what() << " " << __FILE__ << ":"
<< __LINE__;