[PATCH 1/2] Fix missing log message about adding a repository (#1089297)

Martin Kolman mkolman at redhat.com
Wed Apr 23 16:03:07 UTC 2014


We have recently stopped printing debug messages to the
packaging log due the excessive spamming caused by yum lock debugging.
Debug level messages are now only forwarded to the log if debugging is
explicitly requested by the "debug" boot option.

Unfortunately, this also disabled the harmless "repo added" log message,
because it was also logged with debug level.
Moving it to the info level fixes the issue.

Signed-off-by: Martin Kolman <mkolman at redhat.com>
---
 pyanaconda/packaging/yumpayload.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyanaconda/packaging/yumpayload.py b/pyanaconda/packaging/yumpayload.py
index 4f2796a..d6a458d 100644
--- a/pyanaconda/packaging/yumpayload.py
+++ b/pyanaconda/packaging/yumpayload.py
@@ -801,7 +801,7 @@ reposdir=%s
             baseurl = self._replaceVars(baseurl)
         if mirrorlist:
             mirrorlist = self._replaceVars(mirrorlist)
-        log.debug("adding yum repo %s with baseurl %s and mirrorlist %s",
+        log.info("adding yum repo %s with baseurl %s and mirrorlist %s",
                   name, baseurl, mirrorlist)
         with _yum_lock:
             if needsAdding:
-- 
1.9.0



More information about the anaconda-patches mailing list