From 02827d51553ee75a6ba89f230c956983f58a451d Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Thu, 17 Dec 2015 22:34:39 +0000 Subject: [PATCH 1/2] p2p: minor log formatting fix --- src/p2p/net_node.inl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p2p/net_node.inl b/src/p2p/net_node.inl index aa22d5b23..43ccd8679 100644 --- a/src/p2p/net_node.inl +++ b/src/p2p/net_node.inl @@ -182,7 +182,7 @@ namespace nodetool if(time(nullptr) >= it->second) { m_blocked_ips.erase(it); - LOG_PRINT_CYAN("IP " << epee::string_tools::get_ip_string_from_int32(addr) << "is unblocked.", LOG_LEVEL_0); + LOG_PRINT_CYAN("IP " << epee::string_tools::get_ip_string_from_int32(addr) << " unblocked.", LOG_LEVEL_0); return true; } return false; From 63cb1a59aab4ac5f953b8bfbb94518115c89abcc Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Thu, 17 Dec 2015 22:35:34 +0000 Subject: [PATCH 2/2] move another non user useful log to L1 --- src/cryptonote_protocol/cryptonote_protocol_handler-base.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cryptonote_protocol/cryptonote_protocol_handler-base.cpp b/src/cryptonote_protocol/cryptonote_protocol_handler-base.cpp index 12ec4b14a..e5340d62f 100644 --- a/src/cryptonote_protocol/cryptonote_protocol_handler-base.cpp +++ b/src/cryptonote_protocol/cryptonote_protocol_handler-base.cpp @@ -123,7 +123,7 @@ cryptonote_protocol_handler_base::~cryptonote_protocol_handler_base() { void cryptonote_protocol_handler_base::handler_request_blocks_history(std::list& ids) { using namespace epee::net_utils; LOG_PRINT_L1("### ~~~RRRR~~~~ ### sending request (type 2), limit = " << ids.size()); - LOG_PRINT_RED("RATE LIMIT NOT IMPLEMENTED HERE YET (download at unlimited speed?)" , LOG_LEVEL_0); + LOG_PRINT_RED("RATE LIMIT NOT IMPLEMENTED HERE YET (download at unlimited speed?)" , LOG_LEVEL_1); _note_c("net/req2", "### ~~~RRRR~~~~ ### sending request (type 2), limit = " << ids.size()); // TODO }