+1, and just use the if condition on the log line?