Added log message for threshold value