minor changes in declaration of local var
checkTemps.sh: changes in loging

In parseInputParams: log_warning changes to log_error twice