diff --git a/pkg/signalmeow/receiving.go b/pkg/signalmeow/receiving.go index bfceca66..6f40a7f6 100644 --- a/pkg/signalmeow/receiving.go +++ b/pkg/signalmeow/receiving.go @@ -643,10 +643,10 @@ func (cli *Client) handleDecryptedResult( } content := result.Content - log.Trace().Any("raw_data", content).Msg("Raw event data") name, _ := result.SenderAddress.Name() deviceId, _ := result.SenderAddress.DeviceID() + log.Trace().Any("raw_data", content).Str("sender", name).Uint("sender_device", deviceId).Msg("Raw event data") newLog := log.With(). Str("sender_name", name). Uint("sender_device_id", deviceId). diff --git a/pkg/signalmeow/sending.go b/pkg/signalmeow/sending.go index 20be143b..02363317 100644 --- a/pkg/signalmeow/sending.go +++ b/pkg/signalmeow/sending.go @@ -797,7 +797,7 @@ func (cli *Client) sendContent( Logger() ctx = log.WithContext(ctx) printContentFieldString(ctx, content, "Outgoing message") - log.Trace().Any("raw_content", content).Msg("Raw data of outgoing message") + log.Trace().Any("raw_content", content).Stringer("recipient", recipient).Msg("Raw data of outgoing message") // If it's a data message, add our profile key if content.DataMessage != nil {