diff --git a/LCS/MessageBus/test/MessageFuncs.sh.in b/LCS/MessageBus/test/MessageFuncs.sh.in index 68c93328f939ffc851765144a4cd2a93168a6b48..f02a181a2064bf02cdcb1e478e63d7142de3e406 100755 --- a/LCS/MessageBus/test/MessageFuncs.sh.in +++ b/LCS/MessageBus/test/MessageFuncs.sh.in @@ -108,7 +108,8 @@ function create_queue() { # create_queue [host:]queue 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 @@ -125,7 +126,8 @@ function delete_queue() { # Will not remove used queues 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 } diff --git a/SubSystems/Online_Cobalt/test/testFuncs.sh.in b/SubSystems/Online_Cobalt/test/testFuncs.sh.in index 1c03e9c0ad0c6b1e485a720effa8c550ff7abbe8..893238a6614eb81e1c52f3a47d0272e5252074b6 100755 --- a/SubSystems/Online_Cobalt/test/testFuncs.sh.in +++ b/SubSystems/Online_Cobalt/test/testFuncs.sh.in @@ -6,7 +6,8 @@ error() { - echo "ERROR: $@" >&2 + ts=`date '+%F %T,%3N'` # e.g. 2015-10-16 16:00:46,186 + echo "$ts ERROR - $@" >&2 exit 1 }