Commit 6ced17ac authored by Jérome Perrin's avatar Jérome Perrin

hack: log

parent 7e6350b1
...@@ -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,
......
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