Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Investigate reducing INFO logging impact on docker #8023

@erikjohnston

Description

@erikjohnston

The context here is that we'd like to change our default logging to a) not take up so much room and b) use less disk I/O. For installations where we write logs to the disk we can do things like use buffered logging (#8018) and/or keeping INFO logging for a shorter period of time (#8019). Unfortunately, for docker Synapse logs to stderr which is then picked up by the docker daemon, making it hard/impossible to do the same sort of things we did when writing to disk.

Some potential ideas:

  • Log WARN to stderr, INFO to a mounted volume
  • Investigate if we can fiddle with e.g. syslog to make it to the write thing and then document that, etc

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-DockerDocker images, or making it easier to run Synapse in a container.A-LoggingSynapse's logs (structured or otherwise). Not metrics.T-EnhancementNew features, changes in functionality, improvements in performance, or user-facing enhancements.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions