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
137
Merge Requests
137
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
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
Hide 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,8 +781,8 @@ class SyncMLSubscription(XMLObject):
document_data = result.data
signature = self.getSignatureFromGid(gid)
if signature:
syncml_logger.
info
("
signature
is
%
s
=
%
s
", signature.getRelativeUrl(),
signature.getValidationState())
syncml_logger.
debug
("
signature
is
%
s
=
%
s
", signature.getRelativeUrl(),
signature.getValidationState())
if not document_data:
raise ValueError("
No
data
for
%
s
/
%
s
" %(gid, document_path))
...
...
@@ -847,8 +847,8 @@ class SyncMLSubscription(XMLObject):
sync_code='conflict_resolved_with_merge',
command='Replace')
syncml_logger.
info
("
\
tMD5
is
%
s
for
%
s
", signature.checkMD5(document_data),
signature.getReference())
syncml_logger.
debug
("
\
tMD5
is
%
s
for
%
s
", signature.checkMD5(document_data),
signature.getReference())
if not signature.checkMD5(document_data):
# MD5 checksum tell there is a modification of the object
# XXX this diff generation must managed by the conduit
...
...
bt5/erp5_syncml/ToolComponentTemplateItem/portal_components/tool.erp5.SynchronizationTool.py
View file @
823e0181
...
...
@@ -188,7 +188,7 @@ class SynchronizationTool(BaseTool):
"""We will look at the url and we will see if we need to send mail, http
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
:
# we are still anonymous at this time, use unrestrictedSearchResults
# 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