summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyungwook Tak <k.tak@samsung.com>2017-01-23 10:50:22 +0900
committerKyungwook Tak <k.tak@samsung.com>2017-01-23 10:50:22 +0900
commit4a6ffa2cf11605433bb2c29898039e5c9dc23acb (patch)
treeb2c3947bbfcc40af327fac21ac16071e730b02f4
parentd1a42c4efa80aff8d2c06c0f41c405c134f73830 (diff)
downloadcsr-framework-4a6ffa2cf11605433bb2c29898039e5c9dc23acb.tar.gz
csr-framework-4a6ffa2cf11605433bb2c29898039e5c9dc23acb.tar.bz2
csr-framework-4a6ffa2cf11605433bb2c29898039e5c9dc23acb.zip
Downgrade some frequently printed log's level
Change-Id: I1fd99687f04e12422ec7761dec5fb3f7b865fce7 Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
-rw-r--r--src/framework/common/native-mainloop.cpp2
-rw-r--r--src/framework/common/socket.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/framework/common/native-mainloop.cpp b/src/framework/common/native-mainloop.cpp
index 8e2de51..dd61f04 100644
--- a/src/framework/common/native-mainloop.cpp
+++ b/src/framework/common/native-mainloop.cpp
@@ -174,7 +174,7 @@ void NativeMainloop::dispatch(int timeout)
auto events = convertFlags(event[i].events);
if ((events & Mainloop::Event::CLOSE) != Mainloop::Event::NONE) {
- INFO("peer connection closed on fd[" << fd << "]");
+ DEBUG("peer connection closed on fd[" << fd << "]");
events &= ~Mainloop::Event::READ;
}
diff --git a/src/framework/common/socket.cpp b/src/framework/common/socket.cpp
index f698772..56dd9d7 100644
--- a/src/framework/common/socket.cpp
+++ b/src/framework/common/socket.cpp
@@ -102,7 +102,7 @@ Socket::~Socket()
if (this->m_fd == 0)
return;
- INFO("Close socket of fd: " << this->m_fd);
+ DEBUG("Close socket of fd: " << this->m_fd);
::close(m_fd);
}
@@ -114,7 +114,7 @@ Socket Socket::accept(void) const
ThrowExc(CSR_ERROR_SOCKET, "socket on fd[" << this->m_fd << "] accept failed "
"with errno: " << errno);
- INFO("Accept client success with fd: " << fd);
+ DEBUG("Accept client success with fd: " << fd);
return Socket(this->m_sockId, fd);
}