fix(ml): error logging (#6646)

* fix ml error logging

* exclude certain libraries from traceback
This commit is contained in:
Mert
2024-01-25 19:26:27 -05:00
committed by GitHub
parent b306cf564e
commit ca28e1e7a8
2 changed files with 26 additions and 9 deletions

View File

@@ -1,16 +1,15 @@
{
"version": 1,
"disable_existing_loggers": true,
"formatters": { "rich": { "show_path": false, "omit_repeated_times": false } },
"disable_existing_loggers": false,
"handlers": {
"console": {
"class": "app.config.CustomRichHandler",
"formatter": "rich"
"class": "app.config.CustomRichHandler"
}
},
"loggers": {
"gunicorn.access": { "propagate": true },
"gunicorn.error": { "propagate": true }
"gunicorn.error": {
"handlers": ["console"]
}
},
"root": { "handlers": ["console"] }
}