[PATCH] Log zFCP errors in addition to displaying dialog box

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

 



Makes zFCP problem determination based on /tmp/anaconda.log easier.
---
 iw/autopart_type.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/iw/autopart_type.py b/iw/autopart_type.py
index 2695b94..6f83490 100644
--- a/iw/autopart_type.py
+++ b/iw/autopart_type.py
@@ -422,6 +422,9 @@ class PartitionTypeWindow(InstallWindow):
             try:
                 self.storage.zfcp.addFCP(devnum, wwpn, fcplun)
             except ValueError, e:
+                import logging
+                log = logging.getLogger("anaconda")
+                log.warn(str(e))
                 self.intf.messageWindow(_("Error"), str(e))
                 continue
             break
-- 
1.6.4


_______________________________________________
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