filter .log/.bak out