Fixed log4net logger problem