summaryrefslogtreecommitdiffstats
path: root/anaconda_log.py
diff options
context:
space:
mode:
authorAles Kozumplik <akozumpl@redhat.com>2010-05-20 17:06:52 +0200
committerAles Kozumplik <akozumpl@redhat.com>2010-05-24 15:13:24 +0200
commit4a78447cae4474f8c04e5169aaa59e44452a318c (patch)
tree53e1bc2e40e2e413d87200475572d52f0e343b3c /anaconda_log.py
parente7b58597defe1a7d49e276b00b4c22381aa62baa (diff)
downloadanaconda-4a78447cae4474f8c04e5169aaa59e44452a318c.tar.gz
anaconda-4a78447cae4474f8c04e5169aaa59e44452a318c.tar.xz
anaconda-4a78447cae4474f8c04e5169aaa59e44452a318c.zip
logging: remove addLogger()
it's not called from anywhere.
Diffstat (limited to 'anaconda_log.py')
-rw-r--r--anaconda_log.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/anaconda_log.py b/anaconda_log.py
index 27dcf4089..2f48630c7 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.
"""