Changeset 1067 for trunk/libIGCM/libIGCM_debug/libIGCM_debug.ksh
- Timestamp:
- 09/23/14 15:52:47 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/libIGCM_debug/libIGCM_debug.ksh
r1065 r1067 319 319 code=2000 320 320 # RabbitMQ message body 321 Body=$( echo "{${genericSimulationID},\"msgCode\":\"${code}\",\"msgUID\":\"$(uuidgen)\",\"nesting\":\"${IGCM_debug_LenStack}\",\"command\":\" {IGCM_debug_Stack[0]}\",\"arguments\":\[\"{IGCM_debug_StackArgs[0]}\"\],\"msgTimestamp\":\"$( date +"%Y-%m-%dT%H:%M:%S.%N%z" )\"}" )321 Body=$( echo "{${genericSimulationID},\"msgCode\":\"${code}\",\"msgUID\":\"$(uuidgen)\",\"nesting\":\"${IGCM_debug_LenStack}\",\"command\":\"${IGCM_debug_Stack[0]}\",\"arguments\":[\"${IGCM_debug_StackArgs[0]}\"],\"msgTimestamp\":\"$( date +"%Y-%m-%dT%H:%M:%S.%N%z" )\"}" ) 322 322 # Fill the rabbitMQ queue 323 323 IGCM_debug_sendAMQP … … 364 364 365 365 # Go from comma separated (list) to space separated in an array 366 set -A arguments $( echo ${IGCM_debug_StackArgs[0]} | sed -e "s/,/\ /g" )366 set -A arguments -- $( echo ${IGCM_debug_StackArgs[0]} | sed -e "s/,/\ /g" ) 367 367 368 368 # Save Stack information before poping the stack
Note: See TracChangeset
for help on using the changeset viewer.