getting log4net logging changes into a good state