Added a few more short-hand aliases for checking logs for errors.
Change-Id: Iecb12af748c876a6e6be276eb8da1468047b2e90
diff --git a/tools/dev/bash_profile b/tools/dev/bash_profile
index 91798d9..f50d16c 100644
--- a/tools/dev/bash_profile
+++ b/tools/dev/bash_profile
@@ -52,8 +52,8 @@
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 @@
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'