Skip to content

Investigate reducing INFO logging impact on docker #8023

Open
@matrixbot

Description

@matrixbot

This issue has been migrated from #8023.


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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions