completed new logvars backport