From faa1c5ff8d97be5236f8dd4a09ec70cc86c67ed5 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Wed, 10 Sep 2025 16:46:05 +0300 Subject: [PATCH] crypto/machine: log when loading olm account --- crypto/machine.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/crypto/machine.go b/crypto/machine.go index e791e70d..83ce024d 100644 --- a/crypto/machine.go +++ b/crypto/machine.go @@ -156,6 +156,10 @@ func (mach *OlmMachine) Load(ctx context.Context) (err error) { if mach.account == nil { mach.account = NewOlmAccount() } + zerolog.Ctx(ctx).Debug(). + Str("machine_ptr", fmt.Sprintf("%p", mach)). + Str("account_ptr", fmt.Sprintf("%p", mach.account.Internal)). + Msg("Loaded olm account") return nil }