removes interpolated variable from logger