Spaces:
Sleeping
Sleeping
singhjagpreet
commited on
Commit
•
2cec096
1
Parent(s):
0ca13fa
updated logger
Browse files- src/logger.py +6 -5
src/logger.py
CHANGED
@@ -8,11 +8,12 @@ os.makedirs(logs_path,exist_ok=True)
|
|
8 |
|
9 |
LOG_FILE_PATH = os.path.join(logs_path,LOG_FILE)
|
10 |
|
11 |
-
logging.basicConfig(
|
12 |
-
|
13 |
-
|
14 |
-
|
|
|
|
|
15 |
|
16 |
-
)
|
17 |
|
18 |
|
|
|
8 |
|
9 |
LOG_FILE_PATH = os.path.join(logs_path,LOG_FILE)
|
10 |
|
11 |
+
# logging.basicConfig(
|
12 |
+
# filename=LOG_FILE_PATH,
|
13 |
+
# format="[ %(asctime)s ] %(lineno)d %(name)s - %(levelname)s - %(message)s ",
|
14 |
+
# level=logging.INFO
|
15 |
+
|
16 |
+
# )
|
17 |
|
|
|
18 |
|
19 |
|