Permalink
Browse files

HH-25681 debug with extra in loggerAdapter fix

  • Loading branch information...
1 parent 9059ccb commit 989ecc81c4058241b0c2e519236182f4f10907b8 @katraev katraev committed May 5, 2012
Showing with 7 additions and 0 deletions.
  1. +7 −0 frontik/handler.py
View
@@ -114,6 +114,13 @@ def stage_tag_backdate(self, stage, time_delta):
def process_stages(self):
self.debug("Stages for {0} : ".format(self.page) + " ".join(["{0}:{1:.2f}ms".format(k, v) for k, v in self.stages]))
+ def process(self, msg, kwargs):
+ if "extra" in kwargs:
+ kwargs["extra"].update(self.extra)
+ else :
+ kwargs["extra"] = self.extra
+ return msg, kwargs
+
class PageHandlerGlobals(object):
'''

0 comments on commit 989ecc8

Please sign in to comment.