Updated log4net stuff and improved