-
Notifications
You must be signed in to change notification settings - Fork 4
/
log.yml
119 lines (102 loc) · 2.16 KB
/
log.yml
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
refresh_rate: 5 seconds
appenders:
console_appender:
kind: console
encoder:
pattern: "{d(%+)(local)} [{t}] {h({l})} {M}:{m}{n}"
filters:
- kind: threshold
level: info
rolling_file_appender:
kind: rolling_file
path: log/blockchain.log
append: true
encoder:
pattern: "{d} {l} {m}{n}"
filters:
- kind: threshold
level: info
policy:
# Identifies which policy is to be used. If no kind is specified, it will
# default to "compound".
kind: compound
# The remainder of the configuration is passed along to the policy's
# deserializer, and will vary based on the kind of policy.
trigger:
kind: size
limit: 10 mb
roller:
kind: fixed_window
pattern: log/blockchain{}.log
count: 5
root:
level: info
appenders:
- console_appender
- rolling_file_appender
loggers:
utils::logger:
level: info
appenders:
- console_appender
additive: true
p2plib::p2pbehaviour:
level: warn
appenders:
- console_appender
- rolling_file_appender
additive: true
p2plib::simpleswarm:
level: warn
appenders:
- console_appender
- rolling_file_appender
additive: true
libp2p_secio:
level: warn
appenders:
- console_appender
- rolling_file_appender
additive: true
multistream_select:
level: warn
appenders:
- console_appender
- rolling_file_appender
additive: true
libp2p_tcp:
level: warn
appenders:
- console_appender
- rolling_file_appender
additive: true
libp2p_core:
level: warn
appenders:
- console_appender
- rolling_file_appender
additive: true
yamux:
level: warn
appenders:
- console_appender
- rolling_file_appender
additive: true
tokio_reactor:
level: warn
appenders:
- console_appender
- rolling_file_appender
additive: true
hyper:
level: warn
appenders:
- console_appender
- rolling_file_appender
additive: true
reqwest:
level: warn
appenders:
- console_appender
- rolling_file_appender
additive: true