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.

Errors during init get lost in the logs #4641

@richvdh

Description

@richvdh

When started with -D, Synapse daemonizes itself before it binds any TCP/SSL listeners, which means that any errors that occur during that process (such as permission errors or "Address already in use", but also any of a number of potential configuration errors) get lost in the logs rather than being visible in stderr, and the process manager (synctl or systemd) can't tell that there was an error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-LoggingSynapse's logs (structured or otherwise). Not metrics.O-UncommonMost users are unlikely to come across this or unexpected workflowS-MinorBlocks non-critical functionality, workarounds exist.T-DefectBugs, crashes, hangs, security vulnerabilities, or other reported issues.z-p2(Deprecated Label)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions