diff -r 67daa585467b -r 5e5910270991 scripts/functions --- a/scripts/functions Sun Mar 15 20:06:40 2009 +0000 +++ b/scripts/functions Tue Mar 24 17:37:52 2009 +0000 @@ -818,7 +818,8 @@ local state_name="$1" local state_dir="${CT_STATE_DIR}/${state_name}" - CT_DoLog DEBUG "Saving state to restart at step '${state_name}'..." + # Log this to the log level required by the user + CT_DoLog ${CT_LOG_LEVEL_MAX} "Saving state to restart at step '${state_name}'..." rm -rf "${state_dir}" mkdir -p "${state_dir}" @@ -881,7 +882,9 @@ if [ "${CT_LOG_TO_FILE}" = "y" ]; then exec >"${state_dir}/tail.log" fi - CT_DoLog INFO "Restoring state at step '${state_name}', as requested." + + # Log this to the log level required by the user + CT_DoLog ${CT_LOG_LEVEL_MAX} "Restoring state at step '${state_name}', as requested." case "${CT_DEBUG_CT_SAVE_STEPS_GZIP}" in y) tar_opt=z; tar_ext=.gz;;