-
Notifications
You must be signed in to change notification settings - Fork 1
/
log4js.json
54 lines (54 loc) · 1.48 KB
/
log4js.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
"appenders": {
"logFile": {
"type": "dateFile",
"filename": "../logs/payplug-nodejs.log",
"pattern": ".yyyy-MM-dd",
"keepFileExt": true,
"maxLogSize": 10000000,
"backups": 3
},
"errorFile": {
"type": "file",
"filename": "../logs/payplug-nodejs-errors.log",
"layout": {
"type": "messagePassThrough"
}
},
"error": {
"type": "logLevelFilter",
"level": "ERROR",
"appender": "errorFile"
},
"testu": {
"type": "dateFile",
"filename": "../logs/testu.log",
"pattern": ".yyyy-MM-dd",
"keepFileExt": true,
"maxLogSize": 10000000,
"backups": 3
},
"console": {
"type": "console",
"layout": {
"type": "json",
"source": "app"
}
},
"stdout": {
"type": "stdout",
"layout": {
"type": "json",
"source": "app"
}
}
},
"categories": {
"default": { "appenders": ["console"], "level": "INFO" },
"jmcnet": { "appenders": ["logFile", "error", "stdout"], "level": "INFO" },
"ppnjs": { "appenders": ["logFile", "error", "stdout"], "level": "INFO" },
"ppnjs.PayPlugAPI": { "appenders": ["logFile", "error", "stdout"], "level": "TRACE" },
"ppnjs.Payment": { "appenders": ["logFile", "error", "stdout"], "level": "TRACE" },
"testu": { "appenders": ["logFile", "error", "testu"], "level": "TRACE" }
}
}