element-hq / element-hq/element-meta

Quick Improvement on existing log format to ease debugging

Open
#38 5 comments 0 reactions 1 assignee Claimed by @poljar View on GitHub
A-E2EE T-Enhancement T-Task Team: Crypto
Dominant language
No language data
Stars
112
Forks
25
Avg merge
6h 6m
Merged PRs (30d)
4

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.