GravelMC/logging.json

34 lines
650 B
JSON
Raw Normal View History

2024-10-21 10:22:24 -05:00
{
"version": 1,
"disable_existing_loggers": true,
"formatters": {
"file": {
"format": "%(asctime)s: [%(module)s]: [%(levelname)s]: %(message)s",
"validate": true
},
"console": {
"format": "[%(module)s]: [%(levelname)s]: %(message)s",
"validate": true
}
},
"handlers": {
"console": {
"class": "logging.StreamHandler",
"formatter": "console"
},
"file": {
"class": "logging.handlers.RotatingFileHandler",
"formatter": "file",
"filename": "logs//GravelMC.log"
}
},
"loggers": {
"GravelMC": {
"level": "DEBUG",
"handlers": [
"console",
"file"
]
}
}
}