How to turn off mempool logging in cardano-node 1.34.0

In my “mainnet-config.json” I already have the following set:

"TraceMempool": false,
"TraceTxInbound": false,
"TraceTxOutbound": false,
"TraceTxSubmissionProtocol": false,
"TracingVerbosity": "NormalVerbosity",

I am still getting heaps of log messages like:

[relay1:cardano.node.Mempool:Info:1061] [2022-03-01 10:09:36.52 UTC] fromList [("err",Object (fromList [("badInputs",Array [String "05182566b6d026dfa857d3d23704ae2867250706b5daaab815ad64b51df04d24#0",String "347dcd2c998b8743f966d90cd27ea1a1ca8fcb3c21c8472404f8396dc035c0db#0"]),("consumed",Object (fromList [("lovelace",Number 0.0),("policies",Object (fromList []))])),("error",String "This transaction consumed Value 0 (fromList []) but produced Value 2827524 (fromList [(PolicyID {policyID = ScriptHash \"bbb8d69f0a383333d8e40b8c474a00ba889b093d18e7a2ea7943cfd4\"},fromList [(\"AdaApeRobotClub150\",1),(\"AdaApeRobotClub430\",1)])])"),("kind",String "ValueNotConservedUTxO"),("produced",Object (fromList [("lovelace",Number 2827524.0),("policies",Object (fromList [("bbb8d69f0a383333d8e40b8c474a00ba889b093d18e7a2ea7943cfd4",Object (fromList [("416461417065526f626f74436c7562313530",Number 1.0),("416461417065526f626f74436c7562343330",Number 1.0)]))]))]))])),("tx",Object (fromList [("txid",String "287b91a5")])),("kind",String "TraceMempoolRejectedTx"),("mempoolSize",Object (fromList [("bytes",Number 7180.0),("numTxs",Number 5.0)]))]
[relay1:cardano.node.Mempool:Info:962] [2022-03-01 10:09:37.34 UTC] fromList [("tx",Object (fromList [("txid",String "6135a3e5")])),("kind",String "TraceMempoolAddedTx"),("mempoolSize",Object (fromList [("bytes",Number 7464.0),("numTxs",Number 6.0)]))]
[relay1:cardano.node.Mempool:Info:1061] [2022-03-01 10:09:37.57 UTC] fromList [("err",Object (fromList [("badInputs",Array [String "1305d183d2a1a74cb137baf3a85fffcc5bec19a4d3d109735f85f6a44135fe81#1"]),("consumed",Object (fromList [("lovelace",Number 0.0),("policies",Object (fromList []))])),("error",String "This transaction consumed Value 0 (fromList []) but produced Value 9256127 (fromList [])"),("kind",String "ValueNotConservedUTxO"),("produced",Object (fromList [("lovelace",Number 9256127.0),("policies",Object (fromList []))]))])),("tx",Object (fromList [("txid",String "6135a3e5")])),("kind",String "TraceMempoolRejectedTx"),("mempoolSize",Object (fromList [("bytes",Number 7464.0),("numTxs",Number 6.0)]))]

It is just too much. Does anyone know how I switch this excessive mempool logging off?

You can upgrade to release/1.34 branch, there is a bug in 1.34.0 that causes trace configuration to be mismatched.

Workaround for 1.34.0 would be to set “TracePeerSelection” to false, because this value is actually mapped to TraceMempool in 1.34.0:

image

1 Like