[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit b6412fb39a30e001d50d10ed555cd767e3dfa7b6
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
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 file changed, 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")
-



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits