Move some logging from INFO to DEBUG,

GitOrigin-RevId: f56140a9c03fcb0af8c8ecc381b3e111febf616f
This commit is contained in:
levlam 2018-06-05 00:12:34 +03:00
parent 9b946e7394
commit 89c8bf819c
4 changed files with 6 additions and 7 deletions

View File

@ -33,7 +33,7 @@
namespace td {
static int VERBOSITY_NAME(update_file) = VERBOSITY_NAME(INFO);
static int VERBOSITY_NAME(update_file) = VERBOSITY_NAME(DEBUG);
FileNode *FileNodePtr::operator->() const {
return get();

View File

@ -451,7 +451,7 @@ void Session::on_session_created(uint64 unique_id, uint64 first_id) {
// send updatesTooLong to force getDifference
LOG(INFO) << "new_session_created " << unique_id << " " << first_id;
if (is_main_) {
LOG(INFO) << "Sending updatesTooLong to force getDifference";
LOG(DEBUG) << "Sending updatesTooLong to force getDifference";
telegram_api::updatesTooLong too_long_;
auto storer = create_storer(too_long_);
BufferSlice packet(storer.size());
@ -624,7 +624,7 @@ Status Session::on_message_result_ok(uint64 id, BufferSlice packet, size_t origi
}
auth_data_.on_api_response();
Query *query_ptr = &it->second;
VLOG(net_query) << "return query result " << query_ptr->query;
VLOG(net_query) << "Return query result " << query_ptr->query;
cleanup_container(id, query_ptr);
mark_as_known(id, query_ptr);
@ -1196,7 +1196,7 @@ void Session::loop() {
double wakeup_in = 0;
if (wakeup_at != 0) {
wakeup_in = wakeup_at - Time::now_cached();
LOG(INFO) << "Wakeup After " << wakeup_in;
LOG(DEBUG) << "Wakeup after " << wakeup_in;
set_timeout_at(wakeup_at);
}
// TODO: write proper condition..

View File

@ -109,7 +109,7 @@ void HttpConnectionBase::loop() {
on_error(Status::Error(res.error().public_message()));
} else if (res.ok() == 0) {
state_ = State::Write;
LOG(INFO) << "Send query to handler";
LOG(DEBUG) << "Send query to handler";
live_event();
on_query(std::move(current_query_));
} else {
@ -138,7 +138,7 @@ void HttpConnectionBase::loop() {
state_ = State::Close;
}
if (can_close(stream_connection_)) {
LOG(INFO) << "Can close the connection";
LOG(DEBUG) << "Can close the connection";
state_ = State::Close;
}
if (state_ == State::Close) {

View File

@ -193,7 +193,6 @@ Result<size_t> SslFd::process_ssl_error(int ret, int *mask) {
#else
auto openssl_errno = errno;
int error = SSL_get_error(ssl_handle_, ret);
LOG(INFO) << "SSL ERROR: " << ret << " " << error;
switch (error) {
case SSL_ERROR_NONE:
LOG(ERROR) << "SSL_get_error returned no error";