added the not_if for log files

added the not_if for log files