X-Git-Url: https://us-delaporte.pagekite.me/gitweb/matrix-goal-bot.git/blobdiff_plain/4e1a9fea349dbabc177afde73208434130c16d13..93786fa2f6de5c71bf24c8587569100f8f7cfb31:/tasks.py diff --git a/tasks.py b/tasks.py index 2132e51..29d9f5b 100644 --- a/tasks.py +++ b/tasks.py @@ -1,5 +1,11 @@ +import logging + from invoke import Collection from matrix_goal_bot import tasks +logging.basicConfig(filename='matrix-goal-bot.log', encoding='utf-8', level=logging.DEBUG) +logging.getLogger('nio').setLevel(logging.WARNING) +logging.getLogger('asyncio').setLevel(logging.WARNING) + ns = Collection() ns.add_collection(tasks, 'goals')