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 @@ -38,12 +38,17 @@ def add_options(self, parser):
3838
3939 # Scenario entrypoint
4040 def run_test (self ):
41+ # Demonstrate how to enable debug logs from a scenario
42+ # This could be any logs, or "all" for all logs
43+ self .log ("Turning on mempool logging for node 0" )
44+ self .nodes [0 ].logging (include = ["mempool" ])
45+
4146 self .log .info ("Getting peer info" )
4247
4348 # Just like a typical Bitcoin Core functional test, this executes an
4449 # RPC on a node in the network. The actual node at self.nodes[0] may
4550 # be different depending on the user deploying the scenario. Users in
46- # Warnet may have different namepsace access but everyone should always
51+ # Warnet may have different namespace access but everyone should always
4752 # have access to at least one node.
4853 peerinfo = self .nodes [0 ].getpeerinfo ()
4954 for peer in peerinfo :
You can’t perform that action at this time.
0 commit comments