Spaces:
Configuration error
Configuration error
Fedir Zadniprovskyi
commited on
Commit
·
8806276
1
Parent(s):
c2eb910
chore: set root logger level to info
Browse files
src/faster_whisper_server/logger.py
CHANGED
|
@@ -2,10 +2,7 @@ import logging
|
|
| 2 |
|
| 3 |
from faster_whisper_server.config import config
|
| 4 |
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
root_logger = logging.getLogger()
|
| 8 |
-
root_logger.setLevel(logging.CRITICAL)
|
| 9 |
logger = logging.getLogger(__name__)
|
| 10 |
logger.setLevel(config.log_level.upper())
|
| 11 |
logging.basicConfig(format="%(asctime)s:%(levelname)s:%(name)s:%(funcName)s:%(message)s")
|
|
|
|
| 2 |
|
| 3 |
from faster_whisper_server.config import config
|
| 4 |
|
| 5 |
+
logging.getLogger().setLevel(logging.INFO)
|
|
|
|
|
|
|
|
|
|
| 6 |
logger = logging.getLogger(__name__)
|
| 7 |
logger.setLevel(config.log_level.upper())
|
| 8 |
logging.basicConfig(format="%(asctime)s:%(levelname)s:%(name)s:%(funcName)s:%(message)s")
|