diff -r b863e0147296 -r 111b0e9663dc thermferm/thermferm.c --- a/thermferm/thermferm.c Sun Aug 31 18:25:32 2014 +0200 +++ b/thermferm/thermferm.c Mon Sep 01 15:43:13 2014 +0200 @@ -1166,12 +1166,17 @@ previous_target = step->target; } if (debug) - fprintf(stdout, " %s\n", valid_step ? "TRUE":"FALSE"); + fprintf(stdout, " %s %02d:%02d\n", valid_step ? "TRUE":"FALSE", minutes, seconds); - /* - * No more steps to do - */ - if (valid_step == FALSE) { + if (valid_step == TRUE) { + if (((minutes == 15) || (minutes == 45)) && (seconds == 1)) { + syslog(LOG_NOTICE, "Profile `%s' running %02d:%02d in step %d, target %.3f degrees", + profile->name, run_hours, run_minutes % 60, current_step, unit->prof_target); + } + } else { + /* + * No more steps to do + */ unit->prof_state = PROFILE_DONE; syslog(LOG_NOTICE, "Profile `%s' is done", profile->name); }