summaryrefslogtreecommitdiffstats
path: root/storage
diff options
context:
space:
mode:
authorAles Kozumplik <akozumpl@redhat.com>2010-02-16 14:49:30 +0100
committerAles Kozumplik <akozumpl@redhat.com>2010-02-18 10:08:43 +0100
commit99bc9b7d3e05d3ac5488d838caf3e832ef238347 (patch)
tree6322cb0c43b39ea73f13dc414ce28d4b9d233977 /storage
parent2593d5586e51adee8c263543f8c84c86890f339c (diff)
downloadanaconda-99bc9b7d3e05d3ac5488d838caf3e832ef238347.tar.gz
anaconda-99bc9b7d3e05d3ac5488d838caf3e832ef238347.tar.xz
anaconda-99bc9b7d3e05d3ac5488d838caf3e832ef238347.zip
logging: addFileHandler does not set autoLevel by default
Diffstat (limited to 'storage')
-rw-r--r--storage/storage_log.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/storage/storage_log.py b/storage/storage_log.py
index e5dbadcf3..a52513d8c 100644
--- a/storage/storage_log.py
+++ b/storage/storage_log.py
@@ -27,5 +27,6 @@ logger.setLevel(logging.DEBUG)
anaconda_log.logger.addFileHandler("/tmp/storage.log", logger, logging.DEBUG)
anaconda_log.logger.addFileHandler("/dev/tty3", logger,
anaconda_log.DEFAULT_TTY_LEVEL,
- anaconda_log.TTY_FORMAT)
+ anaconda_log.TTY_FORMAT,
+ autoLevel=True)
anaconda_log.logger.forwardToSyslog(logger)