Skip to content

Commit

Permalink
Set logging to info for debugging on staging (#357)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron Suarez committed Dec 28, 2021
1 parent 0eae0ca commit 17b738a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pybot/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,6 @@

# Add route to respond to AWS health check
bot.router.add_get("/health", handle_health_check)
logging.getLogger("aiohttp.access").setLevel(logging.WARNING)
logging.getLogger("aiohttp.access").setLevel(logging.INFO)

bot.start(host=HOST, port=PORT, print=logger.info)

0 comments on commit 17b738a

Please sign in to comment.