add log feature