[Pkg-matrix-maintainers] Bug#919347: matrix-synapse: Logs everything to /var/log/messages by default

Andres Salomon dilinger at queued.net
Mon Apr 22 10:45:55 BST 2019


I agree that the duplicate info messages in /var/log/messages are
annoying. I think that the loglevel going to 'journal' should match
what goes to 'console'.  The default configuration uses a loglevel of
WARN for 'console'.

Editing /etc/matrix-synapse/log.yaml to add "level: WARN" in the
'journal' section of 'handlers' seems to do the trick.  Important
warnings should still show up in /var/log/messages, but all of the
info stuff should only go into homeserver.log.

It would be nice if debian shipped it this way as well.



More information about the Pkg-matrix-maintainers mailing list