matrix: Make logging configurable.

This commit is contained in:
Damir Jelić 2018-07-24 11:05:03 +02:00
parent 59b034737e
commit 4b67dc015b
3 changed files with 61 additions and 6 deletions

View file

@ -455,7 +455,6 @@ if __name__ == "__main__":
handler = WeechatHandler()
handler.format_string = "{record.channel}: {record.message}"
handler.push_application()
nio.http.logger.level = logbook.DEBUG
# TODO if this fails we should abort and unload the script.
matrix.globals.CONFIG = W.config_new("matrix",