-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlog.yaml
43 lines (41 loc) · 963 Bytes
/
log.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
refresh_rate: 30 seconds
appenders:
stdout:
kind: console
encoder:
pattern: "{d} {l} {t} - {m}{n}"
pbyk:
kind: rolling_file
path: "./target/pbyk.log"
encoder:
pattern: "{d} {l} {t} - {m}{n}"
# The policy which handles rotation of the log file. Required.
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: 100 mb
roller:
kind: delete
root:
appenders:
- pbyk
- stdout
loggers:
# turn dependencies on at desired level to see additional log output
reqwest:
level: error
rustls:
level: error
certval:
level: error
yubikey:
level: info
pbyklib:
level: debug
pbyk:
level: debug