[PATCH 1/2] Set log level to debug when using an updates image

Brian C. Lane bcl at redhat.com
Mon Mar 10 23:30:29 UTC 2014


If you are running modified code debug should be logged to help catch
errors.
---
 anaconda | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/anaconda b/anaconda
index 82c4f6b..5ce657c 100755
--- a/anaconda
+++ b/anaconda
@@ -370,7 +370,7 @@ def setupEnvironment():
         del os.environ["LD_PRELOAD"]
 
 def setupLoggingFromOpts(options):
-    if options.debug:
+    if options.debug or options.updateSrc:
         # debugging means debug logging
         options.loglevel = "debug"
 
-- 
1.8.5.3



More information about the anaconda-patches mailing list