adjust the logging information

This commit is contained in:
Martin A. Brown 2016-02-23 12:25:54 -08:00
parent 6ad64ea0e0
commit 2fef28a299
1 changed files with 3 additions and 3 deletions

View File

@ -129,12 +129,12 @@ class OutputDirectory(OutputNamingConvention):
return True
def hook_build_fail(self):
logger.critical("%s FAILURE, see logs in %s", self.stem, self.logdir)
logger.error("%s FAILURE, see logs in %s", self.stem, self.logdir)
return True
def hook_build_success(self):
logger.info("%s SUCCESS!", self.stem)
logger.debug("%s removing logs %s)", self.stem, self.logdir)
logger.info("%s build success %s.", self.stem, self.dirname)
logger.info("%s removing logs %s)", self.stem, self.logdir)
if os.path.isdir(self.logdir):
shutil.rmtree(logdir)
return True