Browse code

Fix tempest logging configuration

This commit will correctly set the tempest output logging to dump
all of tempest logs into a tempest.log file in
$DEST/tempest/tempest.log. This will also fix the logging for
tempest in the gate so it will no longer print every log message on
the console.

Fixes bug 1207066

Change-Id: I91f2ee781c4a7a18c561ea3e3b26832b97431464

Matthew Treinish authored on 2013/08/01 05:05:42
Showing 1 changed files
... ...
@@ -199,6 +199,8 @@ function configure_tempest() {
199 199
     # Oslo
200 200
     iniset $TEMPEST_CONF DEFAULT lock_path $TEMPEST_STATE_PATH
201 201
     mkdir -p $TEMPEST_STATE_PATH
202
+    iniset $TEMPEST_CONF DEFAULT use_stderr False
203
+    iniset $TEMPEST_CONF DEFAULT log_file tempest.log
202 204
 
203 205
     # Timeouts
204 206
     iniset $TEMPEST_CONF compute build_timeout $BUILD_TIMEOUT