[PATCH] get some noise out of the logs

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

 



Noticed when doing a live install - we log a lot of
  set fc of blahblahblah to False

Posting in case it's indicative of a bigger issue.

Bill
diff --git a/packages.py b/packages.py
index f94f4f7..b035616 100644
--- a/packages.py
+++ b/packages.py
@@ -278,7 +278,8 @@ def setFileCons(anaconda):
                 continue
             ret = isys.resetFileContext(os.path.normpath(f),
                                         anaconda.rootPath)
-            log.info("set fc of %s to %s" %(f, ret))
+            if ret != False:
+	        log.info("set fc of %s to %s" %(f, ret))
 
     return
 
_______________________________________________
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