summaryrefslogtreecommitdiffstats
path: root/anaconda_log.py
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2001-03-15 04:59:02 +0000
committerMike Fulbright <msf@redhat.com>2001-03-15 04:59:02 +0000
commit9e6704952da5e0694030e257cc9e9c1e27a11829 (patch)
tree20267e13eb6de4beef27dbc4fb3db948b0f492ea /anaconda_log.py
parentdf0f55e2ebbaf471e0a1bbbd24bce32e33cd2c0d (diff)
downloadanaconda-9e6704952da5e0694030e257cc9e9c1e27a11829.tar.gz
anaconda-9e6704952da5e0694030e257cc9e9c1e27a11829.tar.xz
anaconda-9e6704952da5e0694030e257cc9e9c1e27a11829.zip
move reconfig log file to /var/log
Diffstat (limited to 'anaconda_log.py')
-rw-r--r--anaconda_log.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/anaconda_log.py b/anaconda_log.py
index 72e73bd9f..25f9163cd 100644
--- a/anaconda_log.py
+++ b/anaconda_log.py
@@ -9,7 +9,10 @@ class LogFile:
def open (self, serial, reconfigOnly, test, setupFilesystems):
if reconfigOnly:
- self.logFile = open("/tmp/reconfig.log", "w")
+ try:
+ self.logFile = open("/var/log/reconfig.log", "w")
+ except:
+ self.logFile = sys.stderr
elif not setupFilesystems:
self.logFile = sys.stderr
elif serial: