More log4net refactoring.