Commit 2e5d250b authored by Boxiang Sun's avatar Boxiang Sun

Use logger from parameters

parent 12a32732
......@@ -170,9 +170,9 @@ class SoftwareRelease(SlapDocument):
def error(self, error_log, logger=None):
try:
# Does not follow interface
self.logger.info('Boxiang debug: url: %s', self.getURI())
self.logger.info('Boxiang debug: computer_id: %s', self.getComputerId())
self.logger.info('Boxiang debug: error_log: %s', error_log())
logger.info('Boxiang debug: url: %s', self.getURI())
logger.info('Boxiang debug: computer_id: %s', self.getComputerId())
logger.info('Boxiang debug: error_log: %s', error_log())
a = str(self.getURI())
self._connection_helper.POST('softwareReleaseError', data={
'url': self.getURI(),
......
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