We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8815fae commit 7653a62Copy full SHA for 7653a62
app/utils.py
@@ -1,5 +1,4 @@
1
import logging
2
-import os
3
import random
4
import string
5
import sys
@@ -137,9 +136,6 @@ def standardize_response(
137
136
138
def setup_logger(name, level=logging.INFO):
139
"""Function setup as many loggers as you want"""
140
- if not os.path.exists('log'):
141
- os.makedirs('log') # pragma: no cover
142
-
143
formatter = logging.Formatter('%(asctime)s %(levelname)s %(message)s')
144
handler = logging.StreamHandler(sys.stdout)
145
handler.setFormatter(formatter)
0 commit comments