mautrix / discord

A Matrix-Discord puppeting bridge
https://go.mau.fi/mautrix-discord
GNU Affero General Public License v3.0
253 stars 21 forks source link

logging settings are not applied #66

Closed Lykos153 closed 1 year ago

Lykos153 commented 1 year ago

Steps to reproduce (v0.1.1):

  1. Disable the file writer
    logging:
    min_level: debug
    writers:
    - type: stdout
      format: pretty-colored
  2. Run the bridge as an unprivileged user which doesn't have write access anywhere.
  3. The bridge fails to start because it can't write to ./logs/....
tulir commented 1 year ago

You can't use new log configs on old versions of the bridge

Lykos153 commented 1 year ago

Sorry, my bad! Should have set the tag when I opened the example in GitHub.