Check rotated logs as well as the current file
Change-Id: I1442a54f3c81a68809016fbf50c9c065a58ba15a
diff --git a/tools/test/bin/onos-check-logs b/tools/test/bin/onos-check-logs
index da286bf..5f33243 100755
--- a/tools/test/bin/onos-check-logs
+++ b/tools/test/bin/onos-check-logs
@@ -10,7 +10,7 @@
instance=$2
[ -n "$instance" ] && \
- LOG=$ONOS_INSTALL_DIR/$KARAF_DIST/instances/$instance/data/log/karaf.log || \
- LOG=$ONOS_INSTALL_DIR/log/karaf.log
+ LOG=$ONOS_INSTALL_DIR/$KARAF_DIST/instances/$instance/data/log/karaf.log* || \
+ LOG=$ONOS_INSTALL_DIR/log/karaf.log*
ssh $remote "egrep 'ERROR|Exception' $LOG"