Collect javelin2 log

As of Id5c0dfeaf8e7e9ed1d54f51c54e6e5c65b1361fa javelin will now log to
the file javelin.log collect this log for debugging.

Check for the files existence before attempting to collect to allow this
patch to land before the grenade patch lands.

Change-Id: I787c08506d9a4d12081b5b5b16d752d5147f8e72
This commit is contained in:
Joe Gordon
2014-08-12 14:41:01 -07:00
parent 9699c60688
commit 62d17e5d89

View File

@@ -572,6 +572,9 @@ function cleanup_host {
sudo rm $BASE/logs/grenade.sh.*
sudo mv $BASE/logs/grenade/*.log $BASE/logs
sudo rm -rf $BASE/logs/grenade
if [ -f $BASE/new/grenade/javelin.log ] ; then
sudo cp $BASE/new/grenade/javelin.log $BASE/logs/javelin.log
fi
NEWLOGTARGET=$BASE/logs/new
else