-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlog4rs.yaml
56 lines (53 loc) · 1014 Bytes
/
log4rs.yaml
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
55
56
refresh_rate: 30 seconds
appenders:
stdout:
kind: console
api:
kind: rolling_file
path: "log/api.log"
append: true
encoder:
kind: pattern
pattern: "{d(%Y-%m-%d %H:%M:%S)} {l} | {m}{n}"
policy:
kind: compound
trigger:
kind: size
limit: 10mb
roller:
kind: fixed_window
base: 1
count: 10
pattern: "log/api.{}.log"
rocket:
kind: rolling_file
path: "log/rocket.log"
append: true
encoder:
kind: pattern
pattern: "{d(%Y-%m-%d %H:%M:%S)} {l} | {m}{n}"
policy:
kind: compound
trigger:
kind: size
limit: 10mb
roller:
kind: fixed_window
base: 1
count: 10
pattern: "log/rocket.{}.log"
root:
level: info
appenders:
- stdout
loggers:
CreatureBattleSimulator::api::routes:
level: info
appenders:
- api
additive: false
rocket:
level: info
appenders:
- rocket
additive: true