File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -39,12 +39,17 @@ def set_test_params(self):
3939
4040 # Scenario entrypoint
4141 def run_test (self ):
42+ # Demonstrate how to enable debug logs from a scenario
43+ # This could be any logs, or "all" for all logs
44+ self .log ("Turning on mempool logging for node 0" )
45+ self .nodes [0 ].logging (include = ['mempool' ])
46+
4247 self .log .info ("Getting peer info" )
4348
4449 # Just like a typical Bitcoin Core functional test, this executes an
4550 # RPC on a node in the network. The actual node at self.nodes[0] may
4651 # be different depending on the user deploying the scenario. Users in
47- # Warnet may have different namepsace access but everyone should always
52+ # Warnet may have different namespace access but everyone should always
4853 # have access to at least one node.
4954 peerinfo = self .nodes [0 ].getpeerinfo ()
5055 for peer in peerinfo :
You can’t perform that action at this time.
0 commit comments