added log4net support