element-hq / element-hq/synapse
stderr goes to /dev/null when we run with `--daemonize`
Open
A-Logging
O-Uncommon
S-Major
T-Defect
Z-Help-Wanted
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 600
- Avg merge
- 5d 22h
- Merged PRs (30d)
- 51
Description
This issue has been migrated from [#1539](https://github.com/matrix-org/synapse/issues/1539).
---
Submitted by @matthew:matrix.org
just wasted 30 minutes because an uncaught exception sent to stderr was being swallowed by synctl >:(
(Imported from https://matrix.org/jira/browse/SYN-686)
Contributor guide
Research direction
Start at the synctl entry point that handles --daemonize and reproduce the reported uncaught-exception case. Trace where stderr is redirected, then verify that an exception remains visible to the operator rather than being swallowed when the daemonized process starts.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100