[tor-commits] [ooni-probe/master] Remove log factory for oonib from ooni/utils/log.py.

isis at torproject.org isis at torproject.org
Sat May 18 16:03:28 UTC 2013


commit b6412fb39a30e001d50d10ed555cd767e3dfa7b6
Author: Isis Lovecruft <isis at torproject.org>
Date:   Sat May 18 15:53:21 2013 +0000

    Remove log factory for oonib from ooni/utils/log.py.
---
 ooni/utils/log.py |   15 ---------------
 1 files changed, 0 insertions(+), 15 deletions(-)

diff --git a/ooni/utils/log.py b/ooni/utils/log.py
index 0740c10..8779fdb 100644
--- a/ooni/utils/log.py
+++ b/ooni/utils/log.py
@@ -64,18 +64,3 @@ def exception(error):
     else:
         exc_type, exc_value, exc_traceback = sys.exc_info()
         traceback.print_exception(exc_type, exc_value, exc_traceback)
-
-class LoggerFactory(object):
-    """
-    This is a logger factory to be used by oonib
-    """
-    def __init__(self, options):
-        pass
-
-    def start(self, application):
-        # XXX parametrize this
-        start('oonib.log', "OONIB")
-
-    def stop(self):
-        txlog.msg("Stopping OONIB")
-





More information about the tor-commits mailing list