change log entries to conditionally execute