Adding one more debug log line if status has a value