Logger not saving logs in file

logger not saving logs in file, in console logs just critical msg

solved
,
“root”: {
“level”: “DEBUG”,
“handlers”: [“console”, “file”],
}