clear keepLog setting when the build demoted