aboutsummaryrefslogtreecommitdiffstats
path: root/subreddit.py
diff options
context:
space:
mode:
Diffstat (limited to 'subreddit.py')
-rwxr-xr-xsubreddit.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/subreddit.py b/subreddit.py
index e92c1d9..c31f5f3 100755
--- a/subreddit.py
+++ b/subreddit.py
@@ -37,6 +37,7 @@ IMGUR = ImgurClient(**CONFIG["imgurapi"])
handler = logging.FileHandler("/logs/api.log")
handler.setLevel(logging.DEBUG)
+handler.setFormatter(logging.Formatter("[%(asctime)s]\t%(message)s"))
for logger_name in ("praw", "prawcore"):
logger = logging.getLogger(logger_name)
logger.setLevel(logging.DEBUG)