matrix: Make logging configurable.
This commit is contained in:
parent
59b034737e
commit
4b67dc015b
3 changed files with 61 additions and 6 deletions
1
main.py
1
main.py
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue