зеркало из https://github.com/nextcloud/appstore.git
Merge pull request #1112 from nextcloud/bugfix/log-formatter
fix: Use more sane log format by default
This commit is contained in:
Коммит
520569e098
|
@ -224,11 +224,18 @@ LOG_FILE = BASE_DIR / ".." / "appstore.log"
|
|||
LOGGING = {
|
||||
"version": 1,
|
||||
"disable_existing_loggers": False,
|
||||
"formatters": {
|
||||
"timestamp": {
|
||||
"format": "{asctime} {levelname} {message}",
|
||||
"style": "{",
|
||||
},
|
||||
},
|
||||
"handlers": {
|
||||
"file": {
|
||||
"level": LOG_LEVEL,
|
||||
"class": "logging.FileHandler",
|
||||
"filename": LOG_FILE,
|
||||
"formatter": "timestamp",
|
||||
},
|
||||
},
|
||||
"loggers": {
|
||||
|
|
Загрузка…
Ссылка в новой задаче