added log4net functionality