Thomas Vachuska
Committed by Gerrit Code Review

Added a few more short-hand aliases for checking logs for errors.

Change-Id: Iecb12af748c876a6e6be276eb8da1468047b2e90
......@@ -52,8 +52,8 @@ alias ok='onos-karaf'
alias ot='onos-test'
alias ol='onos-log'
alias ow='onos-watch'
alias ocl='onos-check-logs'
alias oi='setPrimaryInstance'
# alias go='ob && ot && onos -w'
alias pub='onos-push-update-bundle'
# Short-hand for tailing and searching the ONOS (karaf) log
......@@ -65,11 +65,13 @@ function filterLocalLog {
tl | grep --colour=always -E -e "${1-org.onlab|org.onosproject}"
}
alias tlo='filterLocalLog'
alias tle='olo "ERROR|WARN|Exception|Error"'
function filterLog {
ol | grep --colour=always -E -e "${1-org.onlab|org.onosproject}"
}
alias olo='filterLog'
alias ole='olo "ERROR|WARN|Exception|Error"'
# Pretty-print JSON output
alias pp='python -m json.tool'
......