Ensure onos-wait-for-start script completes successfully when DEBUG logging is enabled by checking all logs.
Change-Id: I2b99f3da420837caccf10a71710641fa934bba92
diff --git a/tools/test/bin/onos-wait-for-start b/tools/test/bin/onos-wait-for-start
index ec9698a..66630b9 100755
--- a/tools/test/bin/onos-wait-for-start
+++ b/tools/test/bin/onos-wait-for-start
@@ -21,8 +21,8 @@
# Wait until ApplicationManager is available
for i in {1..10}; do
grep -q \" ApplicationManager .* Started\" \
- $ONOS_INSTALL_DIR/log/karaf.log && break || sleep 1
+ $ONOS_INSTALL_DIR/log/karaf.log* && break || sleep 1
done
- grep -q \" ApplicationManager .* Started\" $ONOS_INSTALL_DIR/log/karaf.log
+ grep -q \" ApplicationManager .* Started\" $ONOS_INSTALL_DIR/log/karaf.log*
"