script/autobuild: Use --verbose to control python logger verbosity
authorAndrew Bartlett <abartlet@samba.org>
Thu, 23 Mar 2023 01:39:55 +0000 (14:39 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 23 Mar 2023 07:16:34 +0000 (07:16 +0000)
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
script/autobuild.py

index 2af5d6e676d5efd9044380365d558651b8fc7972..6c8b1128d32d1da9715f3d5147f2e1fd7e1ec676 100755 (executable)
@@ -109,6 +109,9 @@ if options.retry:
     if options.rebase is None:
         raise Exception('You can only use --retry if you also rebase')
 
+if options.verbose:
+    logger.setLevel(logging.DEBUG)
+
 if options.full_testbase is not None:
     testbase = options.full_testbase
 else: