clean error logs