[rhel6-branch] Increase default logging of yum. (#831777)

Samantha N. Bueno sbueno+anaconda at redhat.com
Thu Nov 12 20:43:23 UTC 2015


Increase the level to DEBUG to provide more information that can help
customers trying to debug any issues.

Resolves: rhbz#831777
---
 yuminstall.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/yuminstall.py b/yuminstall.py
index da35677..51551ba 100644
--- a/yuminstall.py
+++ b/yuminstall.py
@@ -825,7 +825,7 @@ class AnacondaYum(YumSorter):
 
         logger = logging.getLogger("yum")
         logger.propagate = False
-        logger.setLevel(yum.logginglevels.INFO_2)
+        logger.setLevel(yum.logginglevels.DEBUG_4)
         logger.addHandler(file_handler)
         anaconda_log.autoSetLevel(tty3_handler, True)
         tty3_handler.setLevel(anaconda_log.logger.loglevel)
-- 
2.4.3



More information about the anaconda-patches mailing list