Logging for null value