This repository was archived by the owner on Apr 26, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Copy link
Copy link
Open
Labels
A-LoggingSynapse's logs (structured or otherwise). Not metrics.Synapse's logs (structured or otherwise). Not metrics.O-UncommonMost users are unlikely to come across this or unexpected workflowMost users are unlikely to come across this or unexpected workflowS-MinorBlocks non-critical functionality, workarounds exist.Blocks non-critical functionality, workarounds exist.T-DefectBugs, crashes, hangs, security vulnerabilities, or other reported issues.Bugs, crashes, hangs, security vulnerabilities, or other reported issues.z-p2(Deprecated Label)(Deprecated Label)
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-LoggingSynapse's logs (structured or otherwise). Not metrics.Synapse's logs (structured or otherwise). Not metrics.O-UncommonMost users are unlikely to come across this or unexpected workflowMost users are unlikely to come across this or unexpected workflowS-MinorBlocks non-critical functionality, workarounds exist.Blocks non-critical functionality, workarounds exist.T-DefectBugs, crashes, hangs, security vulnerabilities, or other reported issues.Bugs, crashes, hangs, security vulnerabilities, or other reported issues.z-p2(Deprecated Label)(Deprecated Label)