-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathlog4js.json
47 lines (47 loc) · 1.06 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
{
"appenders": {
"access": {
"type": "dateFile",
"filename": "log/access/access.log",
"pattern": "-yyyy-MM-dd",
"alwaysIncludePattern": true,
"numBackups": 10
},
"app": {
"type": "file",
"filename": "log/app.log",
"maxLogSize": 10485760,
"numBackups": 5
},
"errorFile": {
"type": "file",
"filename": "log/errors.log"
},
"errors": {
"type": "logLevelFilter",
"level": "ERROR",
"appender": "errorFile"
},
"console": {
"type": "console"
}
},
"categories": {
"default": {
"appenders": [
"console",
"app",
"errors"
],
"level": "DEBUG"
},
"access": {
"appenders": [
"access",
"console",
"app"
],
"level": "TRACE"
}
}
}