Fixed logging with log4net