summaryrefslogtreecommitdiffstats
path: root/yuminstall.py
diff options
context:
space:
mode:
authorAles Kozumplik <akozumpl@redhat.com>2010-01-25 15:19:55 +0100
committerAles Kozumplik <akozumpl@redhat.com>2010-01-29 14:13:19 +0100
commitd3ba5c26275dcce02f3624ec52b40001dd287706 (patch)
treee57a05f6d78600c72d7b05483667fc50bd0a7971 /yuminstall.py
parent53bf21ed225ffee09eb0986c6bccb3bdbb02ec8a (diff)
downloadanaconda-d3ba5c26275dcce02f3624ec52b40001dd287706.tar.gz
anaconda-d3ba5c26275dcce02f3624ec52b40001dd287706.tar.xz
anaconda-d3ba5c26275dcce02f3624ec52b40001dd287706.zip
anaconda, storage and yum: log to tty3 in the same format as we log into tty4
Diffstat (limited to 'yuminstall.py')
-rw-r--r--yuminstall.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/yuminstall.py b/yuminstall.py
index c57d3609e..800390210 100644
--- a/yuminstall.py
+++ b/yuminstall.py
@@ -619,7 +619,8 @@ class AnacondaYum(YumSorter):
file_handler.setFormatter(file_formatter)
tty3_handler = logging.FileHandler("/dev/tty3")
- tty3_formatter = logging.Formatter("%(asctime)s %(levelname)-8s: %(name)s: %(message)s", "%H:%M:%S")
+ tty3_formatter = logging.Formatter(anaconda_log.DEFAULT_TTY_FORMAT,
+ anaconda_log.DEFAULT_DATE_FORMAT)
tty3_handler.setFormatter(tty3_formatter)
verbose = logging.getLogger("yum.verbose")