This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
Improve structured logging #8683
Labels
A-Logging
Synapse's logs (structured or otherwise). Not metrics.
T-Enhancement
New features, changes in functionality, improvements in performance, or user-facing enhancements.
Building on #8588 there's a desire to improve the output of Synapse structured logging.
Currently a "standard" log line would be turned into JSON (this was a curl to
/_matrix/client/r0/login
to get the login flows, but other logs look similar):This would transform to (note that whitespace was added for visibility, normally this would be a single line with no whitespaec between JSON separators):
A few improvements we'll want to make:
extra
keyword to the logger).The text was updated successfully, but these errors were encountered: