From 99bc9b7d3e05d3ac5488d838caf3e832ef238347 Mon Sep 17 00:00:00 2001 From: Ales Kozumplik Date: Tue, 16 Feb 2010 14:49:30 +0100 Subject: logging: addFileHandler does not set autoLevel by default --- storage/storage_log.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'storage') 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) -- cgit