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
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Jérome Perrin
erp5
Commits
2383e629
Commit
2383e629
authored
May 21, 2015
by
Jérome Perrin
2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hack: log
parent
5bde414d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
erp5/util/taskdistribution/__init__.py
erp5/util/taskdistribution/__init__.py
+7
-0
No files found.
erp5/util/taskdistribution/__init__.py
View file @
2383e629
...
@@ -86,6 +86,13 @@ class NullLogger(object):
...
@@ -86,6 +86,13 @@ class NullLogger(object):
return
null_callable
return
null_callable
null_logger
=
NullLogger
()
null_logger
=
NullLogger
()
# XXX log
import
logging
null_logger
=
logging
.
getLogger
()
null_logger
.
addHandler
(
logging
.
StreamHandler
())
def
patchRPCParser
(
error_handler
):
def
patchRPCParser
(
error_handler
):
"""
"""
Patch xmlrpcmlib's parser class, so it logs data content in case of errors,
Patch xmlrpcmlib's parser class, so it logs data content in case of errors,
...
...
Jérome Perrin
@jerome
mentioned in commit
4500e2cb
·
May 27, 2015
mentioned in commit
4500e2cb
mentioned in commit 4500e2cb26f7257d82bf869fd69db64d79e606e8
Toggle commit list
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