diff --git a/include/mp/proxy-io.h b/include/mp/proxy-io.h index c298257..12442cf 100644 --- a/include/mp/proxy-io.h +++ b/include/mp/proxy-io.h @@ -814,6 +814,7 @@ void _Serve(EventLoop& loop, kj::Own&& stream, InitImpl& init return kj::heap>(std::shared_ptr(&init, [](InitImpl*){}), connection); }); auto it = loop.m_incoming_connections.begin(); + MP_LOG(loop, Log::Info) << "IPC server: socket connected."; it->onDisconnect([&loop, it] { MP_LOG(loop, Log::Info) << "IPC server: socket disconnected."; loop.m_incoming_connections.erase(it); diff --git a/include/mp/proxy-types.h b/include/mp/proxy-types.h index 369fcc7..c13debf 100644 --- a/include/mp/proxy-types.h +++ b/include/mp/proxy-types.h @@ -645,7 +645,7 @@ template void clientDestroy(Client& client) { if (client.m_context.connection) { - MP_LOG(*client.m_context.loop, Log::Info) << "IPC client destroy " << typeid(client).name(); + MP_LOG(*client.m_context.loop, Log::Debug) << "IPC client destroy " << typeid(client).name(); } else { KJ_LOG(INFO, "IPC interrupted client destroy", typeid(client).name()); } @@ -654,7 +654,7 @@ void clientDestroy(Client& client) template void serverDestroy(Server& server) { - MP_LOG(*server.m_context.loop, Log::Info) << "IPC server destroy " << typeid(server).name(); + MP_LOG(*server.m_context.loop, Log::Debug) << "IPC server destroy " << typeid(server).name(); } //! Entry point called by generated client code that looks like: