Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Link Mauve
python-nbxmpp
Commits
88484a02
Commit
88484a02
authored
Jan 04, 2017
by
Yann Leboulanger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
log XML parser as DEBUG insteaf of INFO
parent
95254655
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
nbxmpp/simplexml.py
nbxmpp/simplexml.py
+3
-3
No files found.
nbxmpp/simplexml.py
View file @
88484a02
...
...
@@ -611,7 +611,7 @@ class NodeBuilder(object):
"""
self
.
check_data_buffer
()
self
.
_inc_depth
()
log
.
info
(
"STARTTAG.. DEPTH -> %i , tag -> %s, attrs -> %s"
%
(
self
.
__depth
,
tag
,
attrs
))
log
.
debug
(
"STARTTAG.. DEPTH -> %i , tag -> %s, attrs -> %s"
%
(
self
.
__depth
,
tag
,
attrs
))
if
self
.
__depth
==
self
.
_dispatch_depth
:
if
not
self
.
_mini_dom
:
self
.
_mini_dom
=
Node
(
tag
=
tag
,
attrs
=
attrs
,
nsp
=
self
.
_document_nsp
,
node_built
=
True
)
...
...
@@ -646,7 +646,7 @@ class NodeBuilder(object):
"""
XML Parser callback. Used internally
"""
log
.
info
(
"DEPTH -> %i , tag -> %s"
%
(
self
.
__depth
,
tag
))
log
.
debug
(
"DEPTH -> %i , tag -> %s"
%
(
self
.
__depth
,
tag
))
self
.
check_data_buffer
()
if
self
.
__depth
==
self
.
_dispatch_depth
:
if
self
.
_mini_dom
.
getName
()
==
'error'
:
...
...
@@ -659,7 +659,7 @@ class NodeBuilder(object):
elif
self
.
__depth
>
self
.
_dispatch_depth
:
self
.
_ptr
=
self
.
_ptr
.
parent
else
:
log
.
info
(
"Got higher than dispatch level. Stream terminated?"
)
log
.
debug
(
"Got higher than dispatch level. Stream terminated?"
)
self
.
_dec_depth
()
self
.
last_is_data
=
0
if
self
.
__depth
==
0
:
self
.
stream_footer_received
()
...
...
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