I agree return $value, and also write a message to the log.