mirror of https://gitee.com/bigwinds/arangodb
wrong verbosity info on redirects
This commit is contained in:
parent
aee23cc9a5
commit
d19beb661f
|
@ -77,7 +77,7 @@ void RestAgencyHandler::redirectRequest(std::string const& leaderId) {
|
||||||
_request->requestPath();
|
_request->requestPath();
|
||||||
_response->setResponseCode(rest::ResponseCode::TEMPORARY_REDIRECT);
|
_response->setResponseCode(rest::ResponseCode::TEMPORARY_REDIRECT);
|
||||||
_response->setHeaderNC(StaticStrings::Location, url);
|
_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) {
|
} catch (std::exception const& e) {
|
||||||
LOG_TOPIC(WARN, Logger::AGENCY) << e.what() << " " << __FILE__ << ":"
|
LOG_TOPIC(WARN, Logger::AGENCY) << e.what() << " " << __FILE__ << ":"
|
||||||
<< __LINE__;
|
<< __LINE__;
|
||||||
|
|
Loading…
Reference in New Issue