mirror of
https://github.com/matrix-construct/construct
synced 2024-11-19 08:21:09 +01:00
modules/federation: Use the m::log logger here.
This commit is contained in:
parent
179d40fd21
commit
174213586a
1 changed files with 2 additions and 2 deletions
|
@ -82,7 +82,7 @@ handle_pdu_failure(client &client,
|
||||||
{
|
{
|
||||||
log::error
|
log::error
|
||||||
{
|
{
|
||||||
"%s :%s | (pdu_failure) %s",
|
m::log, "%s :%s | (pdu_failure) %s",
|
||||||
txn_id,
|
txn_id,
|
||||||
at<"origin"_>(request),
|
at<"origin"_>(request),
|
||||||
pdu_failure.get("sender", string_view{"*"}),
|
pdu_failure.get("sender", string_view{"*"}),
|
||||||
|
@ -121,7 +121,7 @@ handle_put(client &client,
|
||||||
|
|
||||||
log::debug
|
log::debug
|
||||||
{
|
{
|
||||||
"%s :%s | %s --> edus:%zu pdus:%zu errors:%zu",
|
m::log, "%s :%s | %s --> edus:%zu pdus:%zu errors:%zu",
|
||||||
txn_id,
|
txn_id,
|
||||||
origin,
|
origin,
|
||||||
string(remote(client)),
|
string(remote(client)),
|
||||||
|
|
Loading…
Reference in a new issue