Commit 9e514240 authored by David Wilson's avatar David Wilson

issue #156: always enable microsecond logging

parent c51eee3c
...@@ -41,7 +41,7 @@ class Handler(logging.Handler): ...@@ -41,7 +41,7 @@ class Handler(logging.Handler):
""" """
def __init__(self, method): def __init__(self, method):
super(Handler, self).__init__() super(Handler, self).__init__()
self.formatter = mitogen.utils.log_get_formatter() self.formatter = mitogen.utils.log_get_formatter(usec=True)
self.method = method self.method = method
def emit(self, record): def emit(self, record):
......
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