# HG changeset patch # User "Yann E. MORIN" # Date 1237916272 0 # Node ID 5e591027099109e3ed341c961be2fcddcd76f612 # Parent d00c858f044fdd5afaee1eb0177bb5a00eee5efa Log the save/restore messages at a level that is always visible. /trunk/scripts/functions | 7 5 2 0 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff -r d00c858f044f -r 5e5910270991 scripts/functions --- a/scripts/functions Mon Mar 23 23:35:36 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;;