123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131 |
- {
- "version": 1,
- "disable_existing_loggers": false,
- "formatters": {
- "standard": {
- "format": "%(asctime)s [%(name)s:%(lineno)d] [%(module)s:%(funcName)s] [%(levelname)s]- %(message)s"
- },
- "api": {
- "format": "%(asctime)s - %(levelname)s - %(message)s"
- }
- },
- "filters": {},
- "handlers": {
- "default": {
- "class": "logging.handlers.RotatingFileHandler",
- "level": "INFO",
- "formatter": "standard",
- "filename": "./logs/info.log",
- "maxBytes": 10485760,
- "backupCount": 20,
- "encoding": "utf8"
- },
- "console": {
- "class": "logging.StreamHandler",
- "level": "DEBUG",
- "formatter": "standard"
- },
- "error_file_handler": {
- "class": "logging.handlers.RotatingFileHandler",
- "level": "ERROR",
- "formatter": "standard",
- "filename": "./logs/errors.log",
- "maxBytes": 10485760,
- "backupCount": 20,
- "encoding": "utf8"
- },
- "debug_file_handler": {
- "class": "logging.handlers.RotatingFileHandler",
- "level": "DEBUG",
- "filename": "./logs/debug.log",
- "maxBytes": 10485760,
- "backupCount": 5,
- "formatter": "standard",
- "encoding": "utf8"
- },
- "api_file_handler": {
- "class": "logging.handlers.RotatingFileHandler",
- "level": "INFO",
- "filename": "./logs/api.log",
- "maxBytes": 10485760,
- "backupCount": 5,
- "formatter": "api"
- }
- },
- "loggers": {
- "multipart.multipart":{
- "level": "WARNING",
- "propagate": false
- },
- "uvicorn.access": {
- "handlers": [
- "api_file_handler"
- ]
- },
- "mne": {
- "level": "ERROR"
- },
- "matplotlib": {
- "level": "ERROR"
- },
- "PIL.PngImagePlugin": {
- "level": "ERROR"
- },
- "core.gait_analysis": {
- "handlers": [
- "default",
- "console"
- ],
- "level": "INFO",
- "propagate": false
- },
- "core.facial_expression": {
- "handlers": [
- "default",
- "error_file_handler",
- "debug_file_handler",
- "console"
- ],
- "level": "INFO",
- "propagate": false
- },
- "core.posture": {
- "handlers": [
- "default",
- "error_file_handler",
- "debug_file_handler",
- "console"
- ],
- "level": "INFO",
- "propagate": false
- },
- "core.utils": {
- "handlers": [
- "default",
- "error_file_handler",
- "debug_file_handler",
- "console"
- ],
- "level": "INFO",
- "propagate": false
- },
- "core.sig_chain.device.pony": {
- "handlers": [
- "default",
- "error_file_handler",
- "debug_file_handler"
- ],
- "level": "INFO",
- "propagate": false
- }
- },
- "root":{
- "handlers": [
- "default",
- "error_file_handler",
- "debug_file_handler",
- "console"
- ],
- "level": "DEBUG"
- }
- }
|