Update log variable.