[tor-commits] [bridgedb/master] Remove overzealous logging of config updates in bridgedb.Main.

isis at torproject.org isis at torproject.org
Sat Apr 19 17:02:42 UTC 2014


commit c047582df068617a2d813d3716992e6f69e763f6
Author: Isis Lovecruft <isis at torproject.org>
Date:   Wed Apr 2 14:56:36 2014 +0000

    Remove overzealous logging of config updates in bridgedb.Main.
---
 lib/bridgedb/Main.py |    5 -----
 1 file changed, 5 deletions(-)

diff --git a/lib/bridgedb/Main.py b/lib/bridgedb/Main.py
index 6411f62..dc45eab 100644
--- a/lib/bridgedb/Main.py
+++ b/lib/bridgedb/Main.py
@@ -264,11 +264,6 @@ def loadConfig(configFile=None, configCls=None):
         configuration.update(**oldConfig)  # Load current settings
         logging.info("Reloading over in-memory configurations...")
 
-    if (len(configuration) > 0) and itsSafeToUseLogging:
-        logging.debug("Old configuration settings:")
-        logging.debug("\n".join(["{key} = {value}".format(key, value)
-                                 for key, value in configuration]))
-
     conffile = configFile
     if (configFile is None) and ('CONFIG_FILE' in configuration):
         conffile = configuration['CONFIG_FILE']





More information about the tor-commits mailing list