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

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

 



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

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux