-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathlog4js.json
53 lines (51 loc) · 1.14 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
{
"appenders": [{
"category": "console",
"type": "console"
}, {
"category": "log_info",
"type": "file",
"filename": "./logs/log_info/info.log",
"maxLogSize": 52428800,
"backups": 5
}, {
"category": "log_response",
"type": "file",
"filename": "./logs/log_response/response.log",
"maxLogSize": 52428800,
"backups": 5
}, {
"category": "log_request",
"type": "file",
"filename": "./logs/log_request/request.log",
"maxLogSize": 52428800,
"backups": 5
}, {
"category": "log_error",
"type": "file",
"filename": "./logs/log_error/error.log",
"maxLogSize": 52428800,
"backups": 5
},{
"category": "log_client",
"type": "file",
"filename": "./logs/log_client/client.log",
"maxLogSize": 52428800,
"backups": 5
}, {
"category": "log_push",
"type": "file",
"filename": "./logs/log_push/push.log",
"maxLogSize": 52428800,
"backups": 5
}],
"replaceConsole": true,
"levels": {
"log_info": "ALL",
"log_response": "ALL",
"log_request": "ALL",
"log_error": "ERROR",
"log_client": "ALL",
"log_push": "ALL"
}
}