Skip to content

Commit

Permalink
feat: change logging level of new logger
Browse files Browse the repository at this point in the history
Merge pull request #96 from Poolitzer/update_ptb
  • Loading branch information
d-Rickyy-b committed Dec 22, 2020
2 parents a566ea2 + 4369c13 commit 00073db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
logger = logging.getLogger(__name__)
logging.basicConfig(format='%(asctime)s - %(name)s - %(levelname)s - %(message)s', level=logging.DEBUG)
logging.getLogger("telegram").setLevel(logging.ERROR)
logging.getLogger("apscheduler").setLevel(logging.ERROR)

updater = Updater(token=config.BOT_TOKEN, use_context=True)

Expand Down

0 comments on commit 00073db

Please sign in to comment.