-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
redacted #4565
Comments
As you can see from the timeline here this issue is very much on our radar, although we haven't fed back on the points raised here which we've fixed (oops).
We no longer store access_token, device_id, user_agent, last_seen for users (unless that user's session is still active), as of #6098. It's inevitable that we track the user_id and timestamp for when users join/leave rooms in order for the room history to actually function. MSC1228 will help us obfuscate the user_id however and is coming shortly.
We have always gone to great lengths to avoid logging any sensitive data (e.g. message contents, secrets, key data etc) in logs. However, log lines do include user IDs and room IDs required to trace problems. Synapse doesn't run in a log minimisation configuration by default because it's still not stable enough to run unattended by itself, flying blind. We need the logs to help people out when things break. As soon as we hit a sufficient level of stability we'll change the default log level for sure (and we are headed in that direction).
Synapse doesn't dictate how you store your logs or what retention scheme you apply. Each package of Synapse does it differently (systemd; python logging; docker logs etc), and it's up to the sysadmin to specify the log rotation & retention policy. They can also switch the log level if they want to WARN, which hides all PII.
Redacted/deleted events now get pruned after N days as of #5934. Deleting files referenced by redacted events is harder, but we're working on it. |
@ghost Why closed?Logs still seem relevant |
Hello |
@NebulaOnion I think you can feel free to reopen this as a new issue (rather than yak-shaving it in a thread here). FWIW if you want to reuse, penultimate version of this issue:
Like Arathorn mentioned, parts of that are no longer relevant. |
redacted
The text was updated successfully, but these errors were encountered: