file logging now controllable