rename is_log_message to log_message