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

[master 6/6] logging: remove addLogger()



it's not called from anywhere.
---
 anaconda_log.py |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/anaconda_log.py b/anaconda_log.py
index 27dcf40..2f48630 100644
--- a/anaconda_log.py
+++ b/anaconda_log.py
@@ -126,12 +126,6 @@ class AnacondaLog:
         autoSetLevel(logfileHandler, autoLevel)
         addToLogger.addHandler(logfileHandler)
 
-    # Add another logger to the hierarchy.  For best results, make sure
-    # name falls under anaconda in the tree.
-    def addLogger (self, name, minLevel=DEFAULT_TTY_LEVEL):
-        newLogger = logging.getLogger(name)
-        newLogger.setLevel(minLevel)
-
     def forwardToSyslog(self, logger):
         """Forward everything that goes in the logger to the syslog daemon.
         """
-- 
1.6.6


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