diff options
author | David Lehman <dlehman@redhat.com> | 2009-02-27 13:41:19 -0600 |
---|---|---|
committer | David Lehman <dlehman@redhat.com> | 2009-02-27 13:41:19 -0600 |
commit | cbc5a7a1e6e5a29ac2b26486c407af2bf66cb30b (patch) | |
tree | 9a56f1dd1ad4ae843dab1543937228b17dde0425 /storage | |
parent | 482c9c767d4eda51e1eedaaa85810b2e435b42d0 (diff) | |
download | anaconda-cbc5a7a1e6e5a29ac2b26486c407af2bf66cb30b.tar.gz anaconda-cbc5a7a1e6e5a29ac2b26486c407af2bf66cb30b.tar.xz anaconda-cbc5a7a1e6e5a29ac2b26486c407af2bf66cb30b.zip |
Remove doMigrateFilesystems, log storage to tty3.
Also let exceptions get raised in turnOnFilesystems
for the time being.
Diffstat (limited to 'storage')
-rw-r--r-- | storage/storage_log.py | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/storage/storage_log.py b/storage/storage_log.py index 351df9811..a771154f0 100644 --- a/storage/storage_log.py +++ b/storage/storage_log.py @@ -2,12 +2,16 @@ import logging #handler = logging.StreamHandler() -handler = logging.FileHandler("/tmp/storage.log") +file_handler = logging.FileHandler("/tmp/storage.log") formatter = logging.Formatter("[%(asctime)s] %(levelname)8s: %(message)s") -handler.setFormatter(formatter) +file_handler.setFormatter(formatter) + +tty3_handler = logging.FileHandler("/dev/tty3") +tty3_handler.setFormatter(formatter) logger = logging.getLogger("storage") -logger.addHandler(handler) +logger.addHandler(file_handler) +logger.addHandler(tty3_handler) logger.setLevel(logging.DEBUG) |