Skip to content
This repository has been archived by the owner on Sep 28, 2021. It is now read-only.

Commit

Permalink
fix: change output handler from stderr to stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
sibalzer committed May 26, 2021
1 parent b23a5b8 commit 312852a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/log.py
@@ -1,12 +1,13 @@
import logging
import sys

logging.basicConfig(
level=logging.INFO,
format="%(asctime)s [%(levelname)s] %(message)s",
datefmt='%Y-%m-%d %H:%M:%S',
handlers=[
logging.FileHandler("impfbot.log"),
logging.StreamHandler()
logging.StreamHandler(sys.stdout)
]
)

Expand Down

0 comments on commit 312852a

Please sign in to comment.