Skip to content
Snippets Groups Projects
Commit 4e6502f4 authored by Alexander van Amesfoort's avatar Alexander van Amesfoort
Browse files

Add timestamps to echo lines at messagebus create/delete queue and to COBALT...

Add timestamps to echo lines at messagebus create/delete queue and to COBALT testFuncs error(), so we can further analyze the flickering tstartBGL test
parent 970ea831
Branches
Tags
No related merge requests found
...@@ -108,7 +108,8 @@ function create_queue() { ...@@ -108,7 +108,8 @@ function create_queue() {
# create_queue [host:]queue # create_queue [host:]queue
HOSTQUEUE="$1" HOSTQUEUE="$1"
echo "MessageBus: Creating queue $FULL_QUEUE_PREFIX$HOSTQUEUE" >&2 ts=`date '+%F %T,%3N'` # e.g. 2015-10-16 16:00:46,186
echo "$ts INFO - MessageFuncs.sh: Creating queue $FULL_QUEUE_PREFIX$HOSTQUEUE" >&2
_qpid_receive "$HOSTQUEUE" "; { create: always }" --print-content no --ignore-reply-to _qpid_receive "$HOSTQUEUE" "; { create: always }" --print-content no --ignore-reply-to
...@@ -125,7 +126,8 @@ function delete_queue() { ...@@ -125,7 +126,8 @@ function delete_queue() {
# Will not remove used queues # Will not remove used queues
HOSTQUEUE="$1" HOSTQUEUE="$1"
echo "MessageBus: Deleting queue $FULL_QUEUE_PREFIX$HOSTQUEUE" >&2 ts=`date '+%F %T,%3N'` # e.g. 2015-10-16 16:00:46,186
echo "%ts INFO - MessageFuncs.sh: Deleting queue $FULL_QUEUE_PREFIX$HOSTQUEUE" >&2
_qpid_receive "$HOSTQUEUE" "; { delete: always }" --print-content no --ignore-reply-to _qpid_receive "$HOSTQUEUE" "; { delete: always }" --print-content no --ignore-reply-to
} }
......
...@@ -6,7 +6,8 @@ ...@@ -6,7 +6,8 @@
error() error()
{ {
echo "ERROR: $@" >&2 ts=`date '+%F %T,%3N'` # e.g. 2015-10-16 16:00:46,186
echo "$ts ERROR - $@" >&2
exit 1 exit 1
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment