Skip to content

Commit 4422dc7

Browse files
committed
Controller: raise build failure logs info→error
Informational logs are not visible unless verbose is enabled. Raise these build failure logs to error to make sure they are visible, whatever the verbose level. Change-Id: I5ddbeda51f9e612a4f1870ab099ed767f7e8577f
1 parent 6de629b commit 4422dc7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/rift/Controller.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,7 @@ def validate_pkgs(config, args, results, pkgs, arch):
596596
case = TestCase('build', pkg.name, arch)
597597
pkg.build_rpms(mock, srpm, args.sign)
598598
except RiftError as ex:
599-
logging.info("Build failure: %s", str(ex))
599+
logging.error("Build failure: %s", str(ex))
600600
results.add_failure(case, time.time() - now, str(ex))
601601
continue # skip current package
602602
else:
@@ -747,7 +747,7 @@ def action_build(args, config):
747747
case = TestCase('build', pkg.name, arch)
748748
build_pkg(config, args, pkg, arch)
749749
except RiftError as ex:
750-
logging.info("Build failure: %s", str(ex))
750+
logging.error("Build failure: %s", str(ex))
751751
results.add_failure(case, time.time() - now, str(ex))
752752
else:
753753
results.add_success(case, time.time() - now)

0 commit comments

Comments
 (0)