conf: log4js

main
Lei OT 10 months ago
parent 0e163e4423
commit 6483a8623b

@ -4,7 +4,7 @@ const log_config = {
"appenders": { "appenders": {
"everything": { "everything": {
"type": "dateFile", "type": "dateFile",
"filename": "logs/app", "filename": "logs/prd",
"pattern": "yyyy-MM-dd.log", "pattern": "yyyy-MM-dd.log",
"alwaysIncludePattern": true, "alwaysIncludePattern": true,
"numBackups": 7, // the number of old files that matches the pattern to keep (excluding the hot file). "numBackups": 7, // the number of old files that matches the pattern to keep (excluding the hot file).

Loading…
Cancel
Save