diff options
author | Ales Kozumplik <akozumpl@redhat.com> | 2009-11-26 16:17:47 +0100 |
---|---|---|
committer | Ales Kozumplik <akozumpl@redhat.com> | 2009-12-03 10:08:25 +0100 |
commit | 7e3fe161c4b600b10abe6796be5b81db9682a953 (patch) | |
tree | efc98e769456f4a7c36e56e01e2cd01e8b15100a /anaconda | |
parent | 5ed47c665d1e916e7e3f7c98def3b59d9879f098 (diff) | |
download | anaconda-7e3fe161c4b600b10abe6796be5b81db9682a953.tar.gz anaconda-7e3fe161c4b600b10abe6796be5b81db9682a953.tar.xz anaconda-7e3fe161c4b600b10abe6796be5b81db9682a953.zip |
Whenever storage code tries to log a method call, do so into the 'tmp/storage.log' file. (a part of #524980)
Previously, the method call was logged into 'tmp/anaconda.log' which made the
file harder to do anything useful with.
Diffstat (limited to 'anaconda')
-rwxr-xr-x | anaconda | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -310,7 +310,9 @@ def setupEnvironment(): def setupLoggingFromOpts(opts): if opts.loglevel and logLevelMap.has_key(opts.loglevel): - log.setHandlersLevel(logLevelMap[opts.loglevel]) + level = logLevelMap[opts.loglevel] + log.setHandlersLevel(level) + storage.storage_log.logger.setHandlersLevel(level) if opts.syslog: if opts.syslog.find(":") != -1: @@ -603,6 +605,7 @@ if __name__ == "__main__": import vnc import users import kickstart + import storage.storage_log from flags import flags # the following makes me very sad. -- katzj |