Ban log optimization