Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Romain Courteaud
erp5
Commits
823e0181
Commit
823e0181
authored
Aug 22, 2024
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_syncml: lower log level.
parent
f2aa05e9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
bt5/erp5_syncml/DocumentTemplateItem/portal_components/document.erp5.SyncMLSubscription.py
...tem/portal_components/document.erp5.SyncMLSubscription.py
+4
-4
bt5/erp5_syncml/ToolComponentTemplateItem/portal_components/tool.erp5.SynchronizationTool.py
...teItem/portal_components/tool.erp5.SynchronizationTool.py
+1
-1
No files found.
bt5/erp5_syncml/DocumentTemplateItem/portal_components/document.erp5.SyncMLSubscription.py
View file @
823e0181
...
@@ -781,7 +781,7 @@ class SyncMLSubscription(XMLObject):
...
@@ -781,7 +781,7 @@ 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:
...
@@ -847,7 +847,7 @@ class SyncMLSubscription(XMLObject):
...
@@ -847,7 +847,7 @@ 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
...
...
bt5/erp5_syncml/ToolComponentTemplateItem/portal_components/tool.erp5.SynchronizationTool.py
View file @
823e0181
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment