diff options
author | Bruno Wagner <bwagner@riseup.net> | 2016-10-19 16:56:43 -0200 |
---|---|---|
committer | Bruno Wagner <bwagner@riseup.net> | 2016-10-19 16:56:43 -0200 |
commit | 425d6a54e13be2cdcd18f1b21a4ff70ae5d43ff0 (patch) | |
tree | 6705d319deaaf9aee234e82c7e0f6815926f17ba /service/twisted/plugins | |
parent | f47533fed69c0ede45285a236bb85efa2938f134 (diff) |
Adapted logging in the UA to use twisted.logger
Diffstat (limited to 'service/twisted/plugins')
-rw-r--r-- | service/twisted/plugins/logger.py | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/service/twisted/plugins/logger.py b/service/twisted/plugins/logger.py deleted file mode 100644 index 6503bb13..00000000 --- a/service/twisted/plugins/logger.py +++ /dev/null @@ -1,15 +0,0 @@ -import gc -import sys - -from zope.interface import implementer -from twisted.plugin import IPlugin -from pixelated.support.loglinegenerator import ILogLineGenerator - - -@implementer(IPlugin, ILogLineGenerator) -class GCLogger(): - def getLogLine(self): - return '%010d' % sum(sys.getsizeof(o) for o in gc.get_objects()) - - -gcLogger = GCLogger() |