Commit 823e0181 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

erp5_syncml: lower log level.

parent f2aa05e9
...@@ -781,8 +781,8 @@ class SyncMLSubscription(XMLObject): ...@@ -781,8 +781,8 @@ class SyncMLSubscription(XMLObject):
document_data = result.data document_data = result.data
signature = self.getSignatureFromGid(gid) signature = self.getSignatureFromGid(gid)
if signature: if signature:
syncml_logger.info("signature is %s = %s", signature.getRelativeUrl(), syncml_logger.debug("signature is %s = %s", signature.getRelativeUrl(),
signature.getValidationState()) signature.getValidationState())
if not document_data: if not document_data:
raise ValueError("No data for %s / %s" %(gid, document_path)) raise ValueError("No data for %s / %s" %(gid, document_path))
...@@ -847,8 +847,8 @@ class SyncMLSubscription(XMLObject): ...@@ -847,8 +847,8 @@ class SyncMLSubscription(XMLObject):
sync_code='conflict_resolved_with_merge', sync_code='conflict_resolved_with_merge',
command='Replace') command='Replace')
syncml_logger.info("\tMD5 is %s for %s", signature.checkMD5(document_data), syncml_logger.debug("\tMD5 is %s for %s", signature.checkMD5(document_data),
signature.getReference()) signature.getReference())
if not signature.checkMD5(document_data): if not signature.checkMD5(document_data):
# MD5 checksum tell there is a modification of the object # MD5 checksum tell there is a modification of the object
# XXX this diff generation must managed by the conduit # XXX this diff generation must managed by the conduit
......
...@@ -188,7 +188,7 @@ class SynchronizationTool(BaseTool): ...@@ -188,7 +188,7 @@ class SynchronizationTool(BaseTool):
"""We will look at the url and we will see if we need to send mail, http """We will look at the url and we will see if we need to send mail, http
response, or just copy to a file. response, or just copy to a file.
""" """
syncml_logger.info('readResponse sync_id %s, text %s', sync_id, text) syncml_logger.debug('readResponse sync_id %s, text %s', sync_id, text)
if text: if text:
# we are still anonymous at this time, use unrestrictedSearchResults # we are still anonymous at this time, use unrestrictedSearchResults
# to fetch the Subcribers # to fetch the Subcribers
......
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