diff options
author | Radek Vykydal <rvykydal@redhat.com> | 2009-06-16 16:48:05 +0200 |
---|---|---|
committer | Radek Vykydal <rvykydal@redhat.com> | 2009-06-18 16:13:39 +0200 |
commit | 96999a5ba329b41bf555ab945a4749755b97c974 (patch) | |
tree | b1ed8b61662595f2af31924181016a42703565b7 /packages.py | |
parent | e3d6d0fe9615b54956cb3a7b12a6d66d76059289 (diff) | |
download | anaconda-96999a5ba329b41bf555ab945a4749755b97c974.tar.gz anaconda-96999a5ba329b41bf555ab945a4749755b97c974.tar.xz anaconda-96999a5ba329b41bf555ab945a4749755b97c974.zip |
Log yum messages.
Overrides base class function: sets handlers for "yum" and "yum.verbose"
- loggers that yum is using. Logs into tty3 and with more detail into yum.log.
Diffstat (limited to 'packages.py')
-rw-r--r-- | packages.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages.py b/packages.py index ba2f9e309..0721923e0 100644 --- a/packages.py +++ b/packages.py @@ -82,7 +82,8 @@ def copyAnacondaLogs(anaconda): ("/tmp/syslog", "anaconda.syslog"), ("/tmp/X.log", "anaconda.xlog"), ("/tmp/program.log", "program.log"), - ("/tmp/storage.log", "storage.log")): + ("/tmp/storage.log", "storage.log"), + ("/tmp/yum.log", "yum.log")): if os.access(fn, os.R_OK): try: shutil.copyfile(fn, "%s/var/log/%s" %(anaconda.rootPath, dest)) |