add variable name to log strings