Recapture screen service logs; disable sysloging.
Using syslog as the single point of OpenStack service data when running devstack-gate is clunky. Exception tracebacks are compressed into a single line making it hard to read what broke. Return to capturing individual screen logs, but don't duplicate those logs to syslog anymore. Change-Id: I17e31b4ffde00bb57f70129710c1b6bb1584a5fa
This commit is contained in:
@@ -248,6 +248,7 @@ function cleanup_host {
|
||||
mkdir -p $WORKSPACE/logs/old/
|
||||
mkdir -p $WORKSPACE/logs/new/
|
||||
mkdir -p $WORKSPACE/logs/grenade/
|
||||
sudo cp $BASE/old/screen-logs/* $WORKSPACE/logs/old/
|
||||
sudo cp $BASE/old/devstacklog.txt $WORKSPACE/logs/old/
|
||||
sudo cp $BASE/old/devstack/localrc $WORKSPACE/logs/old/localrc.txt
|
||||
sudo cp $BASE/logs/* $WORKSPACE/logs/
|
||||
@@ -256,6 +257,7 @@ function cleanup_host {
|
||||
else
|
||||
NEWLOGTARGET=$WORKSPACE/logs
|
||||
fi
|
||||
sudo cp $BASE/new/screen-logs/* $NEWLOGTARGET/
|
||||
sudo cp $BASE/new/devstacklog.txt $NEWLOGTARGET/
|
||||
sudo cp $BASE/new/devstack/localrc $NEWLOGTARGET/localrc.txt
|
||||
|
||||
|
||||
@@ -78,7 +78,8 @@ ERROR_ON_CLONE=True
|
||||
ENABLED_SERVICES=$ENABLED_SERVICES
|
||||
SKIP_EXERCISES=$SKIP_EXERCISES
|
||||
SERVICE_HOST=127.0.0.1
|
||||
SYSLOG=True
|
||||
# Screen console logs will capture service logs.
|
||||
SYSLOG=False
|
||||
SCREEN_LOGDIR=$BASE/new/screen-logs
|
||||
LOGFILE=$BASE/new/devstacklog.txt
|
||||
VERBOSE=True
|
||||
|
||||
Reference in New Issue
Block a user