element-hq / element-hq/synapse

Twisted log output is discarded

Open
#7,464 0 comments 0 reactions 0 assignees View on GitHub
A-Logging T-Defect
Dominant language
Python
Stars
4.6k
Forks
600
Avg merge
5d 22h
Merged PRs (30d)
51

Description

This issue has been migrated from [#7464](https://github.com/matrix-org/synapse/issues/7464).

---

### Description

If the database parameters are incorrect such that synapse can't connect to postgresql, it will exit without printing any kind of error message. The log shows "setting up" as the last line.

### Steps to reproduce

- Have an incorrect database configuration (in my case I had no matching entry in pg_hba.conf so postgresql was refusing the connection)
- Try to start synapse

I would expect to see some kind of error message pointing me at the database configuration, not a silent exit.

### Version information

Synapse 1.12.4, installed from Debian's (unstable/sid) repository.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.