Commit 59c18ad7 authored by Daniel Armbruster's avatar Daniel Armbruster Committed by thomas.forbriger
Browse files

result logger output now only contains filename

This is a legacy commit from before 2015-05-18.
It may be incomplete as well as inconsistent.
See COPYING.legacy and README.history for details.


SVN Path:     http://gpitrsvn.gpi.uni-karlsruhe.de/repos/TFSoftware/trunk
SVN Revision: 4504
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent e4f4baa2
......@@ -408,11 +408,11 @@ class CsLine:
except IOError:
if beTolerant:
logoutput = "While checking: file '%s' does not exist."
resultLogger.getLogger().warning(logoutput, path)
resultLogger.getLogger().warning(logoutput, self.filename)
self.logger.warning(logoutput, path)
else:
logoutput = "While checking: file '%s' does not exist."
resultLogger.getLogger().error(logoutput, path)
resultLogger.getLogger().error(logoutput, self.filename)
self.logger.error(logoutput, path)
else:
# calculate checksum
......@@ -425,11 +425,11 @@ class CsLine:
# checks
if checksum == self.checksum:
logoutput = "Check of file '%s' was successful."
resultLogger.getLogger().info(logoutput, path)
resultLogger.getLogger().info(logoutput, self.filename)
self.logger.debug(logoutput, path)
else:
logoutput = "File '%s' has no integrity anymore."
resultLogger.getLogger().critical(logoutput, path)
resultLogger.getLogger().critical(logoutput, self.filename)
self.logger.critical(logoutput, path)
def __str__(self):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment