diff options
Diffstat (limited to 'libs/binder/RpcServer.cpp')
-rw-r--r-- | libs/binder/RpcServer.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/binder/RpcServer.cpp b/libs/binder/RpcServer.cpp index 4df12ce2c6..de7160ee08 100644 --- a/libs/binder/RpcServer.cpp +++ b/libs/binder/RpcServer.cpp @@ -184,6 +184,8 @@ std::vector<sp<RpcConnection>> RpcServer::listConnections() { } bool RpcServer::setupSocketServer(const RpcSocketAddress& addr) { + LOG_RPC_DETAIL("Setting up socket server %s", addr.toString().c_str()); + { std::lock_guard<std::mutex> _l(mLock); LOG_ALWAYS_FATAL_IF(mServer.get() != -1, "Each RpcServer can only have one server."); @@ -208,6 +210,8 @@ bool RpcServer::setupSocketServer(const RpcSocketAddress& addr) { return false; } + LOG_RPC_DETAIL("Successfully setup socket server %s", addr.toString().c_str()); + mServer = std::move(serverFd); return true; } |