Skip to content

Quick Improvement on existing log format to ease debugging #38

@BillCarsonFr

Description

@BillCarsonFr

Come with a best log format / content => Improve the logs with session ID / sender key, we log the same thing
+> Apply on each platform

Existing
Web
```2021-10-05T14:19:50.676Z I m.room_key_request cancellation for @hubert:uhoreg.ca:KQWTWCJCOX (id m1633443579272.2) 2021-10-05T14:19:53.040Z I received to_device m.room.encrypted from: @dgrig:erethon.com id: undefined 2021-10-05T14:19:53.164Z I decryptMessage: Olm Session ID ExxsoxdVt9gJw6PTVcKc5cfzN5sZagfdl7+sUcmc+sU from p5YY7dWIzxugh38oPX9IRat6KQEFWnDGR36uLLg4Mmo: sender chain index: 0 receiver chain indices: 2 1 1 1 1 skipped message keys:```

Goal:

Add some Tags/Data to each line related to a message encryption that would allow to quickly filter out all relevant lines for debugging an issue.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions