X-Git-Url: https://apps.delaporte.us/gitweb/matrix-goal-bot.git/blobdiff_plain/f6957376c90b1931bed792024ec6bd914b7d4546..52d0cf2858a9c2ea79638cc6e09c2db17fea75c4:/tasks.py diff --git a/tasks.py b/tasks.py index 4dad0c2..29d9f5b 100644 --- a/tasks.py +++ b/tasks.py @@ -1,5 +1,11 @@ +import logging + from invoke import Collection -from goals import tasks +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) +ns.add_collection(tasks, 'goals')