Better logging here.

This commit is contained in:
Ralph Bean
2017-03-03 05:50:29 -05:00
parent 35335a2b23
commit 0822df7a30
2 changed files with 4 additions and 1 deletions

View File

@@ -202,7 +202,7 @@ class ModuleBuild(MBSBase):
state_reason=state_reason)
self.module_builds_trace.append(mbt)
log.debug("%r, state %r->%r" % (self, old_state, self.state))
log.info("%r, state %r->%r" % (self, old_state, self.state))
if old_state != self.state:
module_build_service.messaging.publish(
service='mbs',

View File

@@ -97,6 +97,9 @@ def _finalize(config, session, msg, state):
]
# tag && add to srpm-build group if neccessary
log.info("Batch done. Tagging %i components." % len(
built_components_in_batch))
log.debug("%r" % built_components_in_batch)
install = bool(component_build.package == 'module-build-macros')
builder.buildroot_add_artifacts(built_components_in_batch, install=install)
builder.tag_artifacts(built_components_in_batch)