Fix log_params() usage in CompoundEvent