Spaces:
Sleeping
Sleeping
Fedir Zadniprovskyi
commited on
Commit
•
278b838
1
Parent(s):
a2a6c97
chore: include line number in log messages
Browse files
src/faster_whisper_server/logger.py
CHANGED
@@ -8,4 +8,4 @@ def setup_logger() -> None:
|
|
8 |
logging.getLogger().setLevel(logging.INFO)
|
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")
|
|
|
8 |
logging.getLogger().setLevel(logging.INFO)
|
9 |
logger = logging.getLogger(__name__)
|
10 |
logger.setLevel(config.log_level.upper())
|
11 |
+
logging.basicConfig(format="%(asctime)s:%(levelname)s:%(name)s:%(funcName)s:%(lineno)d:%(message)s")
|