From cb3de758742c4b027f8f4d0fa59eed18ca15e107 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Wed, 10 Aug 2016 16:05:30 +0200 Subject: [PATCH] Display debug logging msgs --- main.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main.py b/main.py index 5bda4fb..5d2130c 100644 --- a/main.py +++ b/main.py @@ -7,6 +7,10 @@ from telegram import ParseMode import filemanager import random import strings as s +import logging + +logging.basicConfig(level=logging.DEBUG, + format='%(asctime)s - %(name)s - %(levelname)s - %(message)s') token = filemanager.readfile('telegramapi.txt') updater = Updater(token)