Skip to content

Conversation

@richvdh
Copy link
Member

@richvdh richvdh commented Jan 10, 2023

This is a series of changes to try to improve the quality of the logging within the crypto subsystem; we try to reduce the noise, but in its stead add a little more logging to try and understand what is going on with element-hq/element-web#23269.

Suggest reviewing commit-by-commit.


This change is marked as an internal change (Task), so will not be included in the changelog.

Rather than manually adding `in ${this.roomId}` to each log line, use a
PrefixedLogger to achieve the same effect more consistently.
Where we log a list of devices, we don't need the whole deviceinfo, just the
device id. All that noise makes it very hard to read the logs.
Copy link

@artcodespace artcodespace left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, the only notes I've added are all on the same subject and just there for consistency's sake

@richvdh
Copy link
Member Author

richvdh commented Jan 11, 2023

@alunturner thanks for the suggestions - I meant to do the conversion from backticks to " but evidently missed a couple of sites! I think I got all the places you pointed out, though a couple of them were updated in later commits anyway.

@richvdh richvdh enabled auto-merge (squash) January 11, 2023 09:18
@richvdh richvdh disabled auto-merge January 12, 2023 11:49
@richvdh richvdh merged commit d23c3cb into develop Jan 12, 2023
@richvdh richvdh deleted the rav/better_megolm_logging branch January 12, 2023 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

T-Task Tasks for the team like planning

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants