0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-10-01 13:18:58 +02:00

ircd::server: Minor cleanup log message formats.

This commit is contained in:
Jason Volk 2019-04-23 20:06:34 -07:00
parent 5860a395a0
commit c7dadc513b

View file

@ -851,7 +851,7 @@ ircd::server::peer::handle_open(link &link,
thread_local char rembuf[64]; thread_local char rembuf[64];
log::derror log::derror
{ {
log, "%s [%s]: open: %s", log, "%s [%s]: open :%s",
loghead(link), loghead(link),
string(rembuf, remote), string(rembuf, remote),
what(eptr) what(eptr)
@ -879,7 +879,7 @@ ircd::server::peer::handle_close(link &link,
if(eptr) if(eptr)
log::derror log::derror
{ {
log, "%s [%s]: close: %s", log, "%s [%s]: close :%s",
loghead(link), loghead(link),
string(rembuf, remote), string(rembuf, remote),
what(eptr) what(eptr)
@ -1230,7 +1230,7 @@ catch(const std::exception &e)
{ {
log::derror log::derror
{ {
log, "peer(%p) resolve SRV: %s", log, "peer(%p) resolve SRV :%s",
this, this,
e.what() e.what()
}; };
@ -1356,7 +1356,7 @@ catch(const std::exception &e)
{ {
log::derror log::derror
{ {
log, "peer(%p) resolve A: %s", log, "peer(%p) resolve A :%s",
this, this,
e.what() e.what()
}; };
@ -1381,7 +1381,7 @@ catch(const std::exception &e)
{ {
log::derror log::derror
{ {
log, "peer(%p) open links: %s", log, "peer(%p) open links :%s",
this, this,
e.what() e.what()
}; };