Skip to content
Snippets Groups Projects
Commit 1b12b35d authored by Jorrit Schaap's avatar Jorrit Schaap
Browse files

Task #9931: logging

parent 31703d2f
Branches
Tags
No related merge requests found
......@@ -234,7 +234,7 @@ class MoMClient:
data = urllib.urlencode({"command" : "GETSIP", "id" : mom_id})
# Now get that file-like object again, remembering to mention the data.
logger.warn('GetSip: %s %s', self.__momURLgetSIP, data)
logger.info('GetSip call: %s %s', self.__momURLgetSIP, data)
response = self.__browser.open(self.__momURLgetSIP, data)
result = response.read()
......@@ -247,7 +247,7 @@ class MoMClient:
time.sleep(wait_secs)
continue #jump back to for mom_retry in range(self.MAX_MOM_RETRIES)
logger.warn('GetSip: %s', result)
logger.info('GetSip result: %s ....', result[:512])
result = result.replace('<stationType>Europe</stationType>','<stationType>International</stationType>')
if validate:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment