message should be logged to log object.