From 8c99e90a852e87c81c64b722a97e141eac1c45b6 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Thu, 7 Feb 2019 04:45:37 -0800 Subject: [PATCH] ircd::client: Add request count to loghead. --- ircd/client.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ircd/client.cc b/ircd/client.cc index 7d19ce388..bbf45d397 100644 --- a/ircd/client.cc +++ b/ircd/client.cc @@ -942,10 +942,12 @@ const thread_local char locbuf[128]; return fmt::sprintf { - buf, "socket:%lu local[%s] remote[%s] client:%lu", + buf, "socket:%lu local[%s] remote[%s] client:%lu req:%lu:%lu", sock? net::id(*sock) : -1UL, string(locbuf, ircd::local(*this)), string(rembuf, ircd::remote(*this)), id, + ready_count, + request_count }; }