Changed from Console.WriteLine to log4net Logger