Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logging with console: "off" will cause "[winston] Attempt to write logs with no transports" when the bridge logs #243

Closed
Half-Shot opened this issue Oct 6, 2020 · 1 comment · Fixed by #302

Comments

@Half-Shot
Copy link
Contributor

If the user has explicit opted out of logs, let's actually be silent.

@Half-Shot Half-Shot added the bug label Oct 6, 2020
@MadLittleMods
Copy link
Contributor

For reference on a workaround that @Half-Shot shared with me, you can use the following snippet to stop the logging.

const { Logging } = require('matrix-appservice-bridge');
Logging.configure({level: "silent" })

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants