[PATCH] Include yum.log in anacdump.txt too.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Also decrease yum debug log detail.
Related commit introducing yum.log is
96999a5ba329b41bf555ab945a4749755b97c974.
---
 exception.py  |    1 +
 yuminstall.py |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/exception.py b/exception.py
index 3c614ea..d2e76b1 100644
--- a/exception.py
+++ b/exception.py
@@ -228,6 +228,7 @@ class AnacondaExceptionDump:
         for file in ("/tmp/syslog", "/tmp/anaconda.log",
                      "/tmp/lvmout", "/tmp/resize.out",
                      "/tmp/program.log", "/tmp/storage.log",
+                     "/tmp/yum.log",
                      anaconda.rootPath + "/root/install.log",
                      anaconda.rootPath + "/root/upgrade.log",
                      "/proc/cmdline"):
diff --git a/yuminstall.py b/yuminstall.py
index 6be1baa..70ed98a 100644
--- a/yuminstall.py
+++ b/yuminstall.py
@@ -591,7 +591,7 @@ class AnacondaYum(YumSorter):
         tty3_handler.setFormatter(tty3_formatter)
 
         verbose = logging.getLogger("yum.verbose")
-        verbose.setLevel(yum.logginglevels.DEBUG_2)
+        verbose.setLevel(logging.DEBUG)
         verbose.propagate = False
         verbose.addHandler(file_handler)
 
-- 
1.6.0.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux