summaryrefslogtreecommitdiffstats
path: root/pyanaconda/anaconda_log.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyanaconda/anaconda_log.py')
-rw-r--r--pyanaconda/anaconda_log.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/pyanaconda/anaconda_log.py b/pyanaconda/anaconda_log.py
index 046cca7ee..207efe417 100644
--- a/pyanaconda/anaconda_log.py
+++ b/pyanaconda/anaconda_log.py
@@ -161,6 +161,13 @@ class AnacondaLog:
minLevel=logging.DEBUG)
self.forwardToSyslog(packaging_logger)
+ # Create the yum logger and link it to packaging
+ yum_logger = logging.getLogger("yum")
+ yum_logger.setLevel(logging.DEBUG)
+ self.addFileHandler(PACKAGING_LOG_FILE, yum_logger,
+ minLevel=logging.DEBUG)
+ self.forwardToSyslog(yum_logger)
+
# Create a second logger for just the stuff we want to dup on
# stdout. Anything written here will also get passed up to the
# parent loggers for processing and possibly be written to the