/
log-config-1.yaml
110 lines (94 loc) · 2.68 KB
/
log-config-1.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
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
# global filter; messages must have at least this severity to pass:
minSeverity: Debug
# global file rotation settings:
rotation:
rpLogLimitBytes: 5000000
rpKeepFilesNum: 10
rpMaxAgeHours: 24
# these backends are initialized:
setupBackends:
- KatipBK
# if not indicated otherwise, then messages are passed to these backends:
defaultBackends:
- KatipBK
# if wanted, the GUI is listening on this port:
#hasGUI: 12871
# if wanted, the EKG interface is listening on this port:
hasEKG: 12782
hasPrometheus:
- "127.0.0.1"
- 13789
# here we set up outputs of logging in 'katip':
setupScribes:
- scKind: FileSK
scName: "logs/node-1.log"
scFormat: ScText
- scKind: StdoutSK
scName: stdout
scFormat: ScText
scRotation: null
# if not indicated otherwise, then log output is directed to this:
defaultScribes:
- - FileSK
- "logs/node-1.log"
- - StdoutSK
- stdout
# more options which can be passed as key-value pairs:
options:
cfokey:
value: "Release-1.0.0"
mapSubtrace:
'#ekgview':
contents:
- - tag: Contains
contents: 'cardano.epoch-validation.benchmark'
- - tag: Contains
contents: .monoclock.basic.
- - tag: Contains
contents: 'cardano.epoch-validation.benchmark'
- - tag: Contains
contents: diff.RTS.cpuNs.timed.
- - tag: StartsWith
contents: '#ekgview.#aggregation.cardano.epoch-validation.benchmark'
- - tag: Contains
contents: diff.RTS.gcNum.timed.
subtrace: FilterTrace
'cardano.epoch-validation.utxo-stats':
# Change the `subtrace` value to `Neutral` in order to log
# `UTxO`-related messages during epoch validation.
subtrace: NoTrace
mapBackends:
cardano.node.metrics.ChainDB:
- EKGViewBK
- kind: UserDefinedBK
name: LiveViewBackend
cardano.node.metrics.Forge:
- EKGViewBK
cardano.node.metrics.Mempool:
- EKGViewBK
cardano.node.metrics:
- EKGViewBK
- kind: UserDefinedBK
name: LiveViewBackend
cardano.node.peers:
- EKGViewBK
cardano.node.BlockFetchDecision.peers:
- EKGViewBK
- kind: UserDefinedBK
name: LiveViewBackend
##########################################################
############### Cardano Node Configuration ###############
##########################################################
NodeId: 1
Protocol: RealPBFT
NumCoreNodes: 1
RequiresNetworkMagic: RequiresMagic
TurnOnLogging: True
ViewMode: SimpleView
TurnOnLogMetrics: True
##### Update Parameters #####
ApplicationName: cardano-sl
ApplicationVersion: 1
LastKnownBlockVersion-Major: 0
LastKnownBlockVersion-Minor: 2
LastKnownBlockVersion-Alt: 0