Skip to content

Commit

Permalink
jobs.py: enable logging
Browse files Browse the repository at this point in the history
Useful to get the debug output from commands.ssh()

Signed-off-by: Yann Dirson <[email protected]>
  • Loading branch information
ydirson committed Sep 18, 2024
1 parent ba2ae1b commit 1e24f26
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import argparse
import json
import logging
import subprocess
import sys
from lib.commands import ssh
Expand Down Expand Up @@ -712,6 +713,7 @@ def action_run(args):
sys.exit(1)

def main():
logging.basicConfig(format='[%(levelname)s] %(message)s', level=logging.DEBUG)
parser = argparse.ArgumentParser(description="Manage test jobs")
parser.add_argument("-v", "--host-version", help="host version to match VM filters.")
subparsers = parser.add_subparsers(dest="action", metavar="action")
Expand Down

0 comments on commit 1e24f26

Please sign in to comment.