Move some logging from INFO to DEBUG,
GitOrigin-RevId: f56140a9c03fcb0af8c8ecc381b3e111febf616f
This commit is contained in:
parent
9b946e7394
commit
89c8bf819c
@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
namespace td {
|
namespace td {
|
||||||
|
|
||||||
static int VERBOSITY_NAME(update_file) = VERBOSITY_NAME(INFO);
|
static int VERBOSITY_NAME(update_file) = VERBOSITY_NAME(DEBUG);
|
||||||
|
|
||||||
FileNode *FileNodePtr::operator->() const {
|
FileNode *FileNodePtr::operator->() const {
|
||||||
return get();
|
return get();
|
||||||
|
@ -451,7 +451,7 @@ void Session::on_session_created(uint64 unique_id, uint64 first_id) {
|
|||||||
// send updatesTooLong to force getDifference
|
// send updatesTooLong to force getDifference
|
||||||
LOG(INFO) << "new_session_created " << unique_id << " " << first_id;
|
LOG(INFO) << "new_session_created " << unique_id << " " << first_id;
|
||||||
if (is_main_) {
|
if (is_main_) {
|
||||||
LOG(INFO) << "Sending updatesTooLong to force getDifference";
|
LOG(DEBUG) << "Sending updatesTooLong to force getDifference";
|
||||||
telegram_api::updatesTooLong too_long_;
|
telegram_api::updatesTooLong too_long_;
|
||||||
auto storer = create_storer(too_long_);
|
auto storer = create_storer(too_long_);
|
||||||
BufferSlice packet(storer.size());
|
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();
|
auth_data_.on_api_response();
|
||||||
Query *query_ptr = &it->second;
|
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);
|
cleanup_container(id, query_ptr);
|
||||||
mark_as_known(id, query_ptr);
|
mark_as_known(id, query_ptr);
|
||||||
@ -1196,7 +1196,7 @@ void Session::loop() {
|
|||||||
double wakeup_in = 0;
|
double wakeup_in = 0;
|
||||||
if (wakeup_at != 0) {
|
if (wakeup_at != 0) {
|
||||||
wakeup_in = wakeup_at - Time::now_cached();
|
wakeup_in = wakeup_at - Time::now_cached();
|
||||||
LOG(INFO) << "Wakeup After " << wakeup_in;
|
LOG(DEBUG) << "Wakeup after " << wakeup_in;
|
||||||
set_timeout_at(wakeup_at);
|
set_timeout_at(wakeup_at);
|
||||||
}
|
}
|
||||||
// TODO: write proper condition..
|
// TODO: write proper condition..
|
||||||
|
@ -109,7 +109,7 @@ void HttpConnectionBase::loop() {
|
|||||||
on_error(Status::Error(res.error().public_message()));
|
on_error(Status::Error(res.error().public_message()));
|
||||||
} else if (res.ok() == 0) {
|
} else if (res.ok() == 0) {
|
||||||
state_ = State::Write;
|
state_ = State::Write;
|
||||||
LOG(INFO) << "Send query to handler";
|
LOG(DEBUG) << "Send query to handler";
|
||||||
live_event();
|
live_event();
|
||||||
on_query(std::move(current_query_));
|
on_query(std::move(current_query_));
|
||||||
} else {
|
} else {
|
||||||
@ -138,7 +138,7 @@ void HttpConnectionBase::loop() {
|
|||||||
state_ = State::Close;
|
state_ = State::Close;
|
||||||
}
|
}
|
||||||
if (can_close(stream_connection_)) {
|
if (can_close(stream_connection_)) {
|
||||||
LOG(INFO) << "Can close the connection";
|
LOG(DEBUG) << "Can close the connection";
|
||||||
state_ = State::Close;
|
state_ = State::Close;
|
||||||
}
|
}
|
||||||
if (state_ == State::Close) {
|
if (state_ == State::Close) {
|
||||||
|
@ -193,7 +193,6 @@ Result<size_t> SslFd::process_ssl_error(int ret, int *mask) {
|
|||||||
#else
|
#else
|
||||||
auto openssl_errno = errno;
|
auto openssl_errno = errno;
|
||||||
int error = SSL_get_error(ssl_handle_, ret);
|
int error = SSL_get_error(ssl_handle_, ret);
|
||||||
LOG(INFO) << "SSL ERROR: " << ret << " " << error;
|
|
||||||
switch (error) {
|
switch (error) {
|
||||||
case SSL_ERROR_NONE:
|
case SSL_ERROR_NONE:
|
||||||
LOG(ERROR) << "SSL_get_error returned no error";
|
LOG(ERROR) << "SSL_get_error returned no error";
|
||||||
|
Reference in New Issue
Block a user