Modifying the log script to stop wget from appeading to the logs while
downloading the logs which can create an endless loop.
Change-Id: I2ea6de9ebcccd60001c3993f45e28a2b8439748b
Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
# Magic string used to trim console logs at the appropriate level during wget
echo "-----END_OF_BUILD-----"
# Magic string used to trim console logs at the appropriate level during wget
echo "-----END_OF_BUILD-----"
-wget -O $ARCHIVES_DIR/console.log ${{BUILD_URL}}consoleText
-wget -O $ARCHIVES_DIR/console-timestamp.log ${{BUILD_URL}}/timestamps?time=HH:mm:ss\&appendLog
+wget -q -O $ARCHIVES_DIR/console.log ${{BUILD_URL}}consoleText
+wget -q -O $ARCHIVES_DIR/console-timestamp.log ${{BUILD_URL}}/timestamps?time=HH:mm:ss\&appendLog
sed -i '/^-----END_OF_BUILD-----$/,$d' $ARCHIVES_DIR/console.log
sed -i '/^.*-----END_OF_BUILD-----$/,$d' $ARCHIVES_DIR/console-timestamp.log
sed -i '/^-----END_OF_BUILD-----$/,$d' $ARCHIVES_DIR/console.log
sed -i '/^.*-----END_OF_BUILD-----$/,$d' $ARCHIVES_DIR/console-timestamp.log