We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c3c19d commit b0c3995Copy full SHA for b0c3995
test/functional/feature_logging.py
@@ -69,6 +69,19 @@ def run_test(self):
69
# just sanity check no crash here
70
self.restart_node(0, [f"-debuglogfile={os.devnull}"])
71
72
+ self.log.info("Test -debug and -debugexclude raise when invalid values are passed")
73
+ self.stop_node(0)
74
+ self.nodes[0].assert_start_raises_init_error(
75
+ extra_args=["-debug=abc"],
76
+ expected_msg="Error: Unsupported logging category -debug=abc.",
77
+ match=ErrorMatch.FULL_REGEX,
78
+ )
79
80
+ extra_args=["-debugexclude=abc"],
81
+ expected_msg="Error: Unsupported logging category -debugexclude=abc.",
82
83
84
+
85
86
if __name__ == '__main__':
87
LoggingTest().main()
0 commit comments