Skip to content

Commit cbc6be6

Browse files
Bump trace severity level for successfully loading a peer snapshot
1 parent f5ca5e0 commit cbc6be6

File tree

1 file changed

+3
-2
lines changed
  • cardano-node/src/Cardano/Node/Tracing/Tracers

1 file changed

+3
-2
lines changed

cardano-node/src/Cardano/Node/Tracing/Tracers/Startup.hs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,8 +223,8 @@ instance ( Show (BlockNodeToNodeVersion blk)
223223
mconcat [ "kind" .= String "LedgerPeerSnapshot"
224224
, "message" .= String (
225225
mconcat [
226-
"Topology file misconfiguration: loaded but ignoring ",
227-
"input recorded ", showT wOrigin, " but topology specifies ",
226+
"Topology file misconfiguration: peer snapshot recorded ",
227+
showT wOrigin, " but topology specifies ",
228228
"to use ledger peers: ", showT useLedgerPeers,
229229
". Possible fix: update your big ledger peer snapshot ",
230230
"or enable the use of ledger peers in the topology file."])]
@@ -373,6 +373,7 @@ instance MetaTrace (StartupTrace blk) where
373373
severityFor (Namespace _ ["BlockForgingUpdateError"]) _ = Just Error
374374
severityFor (Namespace _ ["BlockForgingBlockTypeMismatch"]) _ = Just Error
375375
severityFor (Namespace _ ["MovedTopLevelOption"]) _ = Just Warning
376+
severityFor (Namespace _ ["LedgerPeerSnapshot"]) _ = Just Notice
376377
severityFor (Namespace _ ["LedgerPeerSnapshot", "Incompatible"]) _ = Just Warning
377378
severityFor _ _ = Just Info
378379

0 commit comments

Comments
 (0)