|
|
@ -1,3 +1,31 @@ |
|
|
|
from .base import * # noqa: F401,F403 |
|
|
|
|
|
|
|
DEBUG = False |
|
|
|
|
|
|
|
LOGGING = { |
|
|
|
"version": 1, |
|
|
|
"disable_existing_loggers": False, |
|
|
|
"formatters": { |
|
|
|
"standard": { |
|
|
|
"format": "[%(asctime)s] [%(process)d] [%(levelname)s] [%(name)s::%(funcName)s::%(lineno)d] %(message)s", |
|
|
|
"datefmt": "%Y-%m-%d %H:%M:%S %z", |
|
|
|
} |
|
|
|
}, |
|
|
|
"handlers": { |
|
|
|
"console": { |
|
|
|
"level": "INFO", |
|
|
|
"class": "logging.StreamHandler", |
|
|
|
"formatter": "standard", |
|
|
|
}, |
|
|
|
}, |
|
|
|
"root": { |
|
|
|
"handlers": ["console"], |
|
|
|
"level": "INFO", |
|
|
|
}, |
|
|
|
"loggers": { |
|
|
|
"django": { |
|
|
|
"handlers": ["console"], |
|
|
|
"level": "INFO", |
|
|
|
}, |
|
|
|
}, |
|
|
|
} |