fix for nullref when getting logger from service

Changes to logging cause a null ref exception when executing as a service.  This is because the console appender is ignored when running as a service and thus the logger is never initialized.