Implemented log4net to ease bug finding