mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 02:02:38 +01:00
ircd::net: Improve connect logmsg.
This commit is contained in:
parent
0117838145
commit
de00f3b0c3
1 changed files with 3 additions and 2 deletions
|
@ -3624,11 +3624,12 @@ noexcept try
|
|||
using std::errc;
|
||||
|
||||
const life_guard<socket> s{wp};
|
||||
thread_local char ecbuf[64];
|
||||
thread_local char ecbuf[64], epbuf[128];
|
||||
log::debug
|
||||
{
|
||||
log, "%s connect %s",
|
||||
log, "%s connect to %s :%s",
|
||||
loghead(*this),
|
||||
string(epbuf, opts.ipport),
|
||||
string(ecbuf, ec)
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue