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} ...@@ -10,7 +10,7 @@ remote=$ONOS_USER@${1:-$OCI}
10 instance=$2 10 instance=$2
11 11
12 [ -n "$instance" ] && \ 12 [ -n "$instance" ] && \
13 - LOG=$ONOS_INSTALL_DIR/$KARAF_DIST/instances/$instance/data/log/karaf.log || \ 13 + LOG=$ONOS_INSTALL_DIR/$KARAF_DIST/instances/$instance/data/log/karaf.log* || \
14 - LOG=$ONOS_INSTALL_DIR/log/karaf.log 14 + LOG=$ONOS_INSTALL_DIR/log/karaf.log*
15 15
16 ssh $remote "egrep 'ERROR|Exception' $LOG" 16 ssh $remote "egrep 'ERROR|Exception' $LOG"
......