X-Git-Url: https://us-delaporte.pagekite.me/gitweb/matrix-goal-bot.git/blobdiff_plain/63ac7fdf6c0d6dc54d2631d9eee2151db1265660..174617ddee807e886010cde8759706bfd8037856:/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')