mirror of https://github.com/immich-app/immich.git
fix(ml): error logging (#6646)
* fix ml error logging * exclude certain libraries from tracebackpull/6648/head
parent
b306cf564e
commit
ca28e1e7a8
@ -1,16 +1,15 @@
|
|||||||
{
|
{
|
||||||
"version": 1,
|
"version": 1,
|
||||||
"disable_existing_loggers": true,
|
"disable_existing_loggers": false,
|
||||||
"formatters": { "rich": { "show_path": false, "omit_repeated_times": false } },
|
|
||||||
"handlers": {
|
"handlers": {
|
||||||
"console": {
|
"console": {
|
||||||
"class": "app.config.CustomRichHandler",
|
"class": "app.config.CustomRichHandler"
|
||||||
"formatter": "rich"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"loggers": {
|
"loggers": {
|
||||||
"gunicorn.access": { "propagate": true },
|
"gunicorn.error": {
|
||||||
"gunicorn.error": { "propagate": true }
|
"handlers": ["console"]
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"root": { "handlers": ["console"] }
|
"root": { "handlers": ["console"] }
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue