SilasKieser commited on
Commit
ae7b329
·
1 Parent(s): df1de84

change log format

Browse files
Files changed (1) hide show
  1. whisper_fastapi_online_server.py +2 -2
whisper_fastapi_online_server.py CHANGED
@@ -21,12 +21,12 @@ def setup_logging():
21
  'disable_existing_loggers': False,
22
  'formatters': {
23
  'standard': {
24
- 'format': '%(asctime)s - %(name)s - %(levelname)s - %(message)s',
25
  },
26
  },
27
  'handlers': {
28
  'console': {
29
- 'level': 'DEBUG',
30
  'class': 'logging.StreamHandler',
31
  'formatter': 'standard',
32
  },
 
21
  'disable_existing_loggers': False,
22
  'formatters': {
23
  'standard': {
24
+ 'format': '%(asctime)s %(levelname)s [%(name)s]: %(message)s',
25
  },
26
  },
27
  'handlers': {
28
  'console': {
29
+ 'level': 'INFO',
30
  'class': 'logging.StreamHandler',
31
  'formatter': 'standard',
32
  },