From d5462bf7d2318017afafa8e41af9202156094bec Mon Sep 17 00:00:00 2001 From: Termina1 Date: Fri, 29 Nov 2024 17:55:33 +0200 Subject: [PATCH] end session more logging --- chotki.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chotki.go b/chotki.go index e7e58a9..8867ee0 100644 --- a/chotki.go +++ b/chotki.go @@ -616,7 +616,7 @@ func (cho *Chotki) drain(ctx context.Context, recs protocol.Records) (err error) noApply = true case 'B': // bye dear - cho.log.InfoCtx(ctx, "received session end", "id", id.String()) + cho.log.InfoCtx(ctx, "received session end", "id", id.String(), "data", string(body)) cho.syncs.Delete(id) case 'P': // ping noop default: