Update utils.py
Browse files
utils.py
CHANGED
|
@@ -6,7 +6,7 @@ import logging
|
|
| 6 |
## -------------------------------------------------------------------------------------------
|
| 7 |
# Configure logging to write to a file
|
| 8 |
def setup_logging():
|
| 9 |
-
logging.basicConfig(filename='
|
| 10 |
|
| 11 |
def log_error(message):
|
| 12 |
logging.error(message)
|
|
|
|
| 6 |
## -------------------------------------------------------------------------------------------
|
| 7 |
# Configure logging to write to a file
|
| 8 |
def setup_logging():
|
| 9 |
+
logging.basicConfig(filename='app.log', level=logging.ERROR)
|
| 10 |
|
| 11 |
def log_error(message):
|
| 12 |
logging.error(message)
|