Jon Hall
Committed by Gerrit Code Review

Check rotated logs as well as the current file

Change-Id: I1442a54f3c81a68809016fbf50c9c065a58ba15a
......@@ -10,7 +10,7 @@ remote=$ONOS_USER@${1:-$OCI}
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"
......