Skip to content

Commit

Permalink
more verbose logs in the monitor_ds.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
atodorov-storpool committed Jun 26, 2018
1 parent 27ee345 commit ba9dd34
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions datastore/storpool/monitor_ds.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,17 @@ if [ -f "$SP_MONITOR_DS" ]; then
fi
if [ -d "$SP_DS_TMP" ]; then
rm -rf "$SP_DS_TMP"
if boolTrue "$IM_MONITOR_DS_DEBUG_VERBOSE"; then
splog "rm -rf $SP_DS_TMP"
fi
fi
if [ -n "$START_TIME" ]; then
local end_time="$(date +%s)"
splog "'$0' runtime:$((end_time - START_TIME))sec"
fi
if boolTrue "$IM_MONITOR_DS_DEBUG_VERBOSE"; then
splog "$0 do exit $_ret"
fi
exit $_ret
}
trap sp_trap TERM INT QUIT HUP EXIT
Expand Down

0 comments on commit ba9dd34

Please sign in to comment.