Update to use MainConsole, not log4net.