remove some shared variables from logger