Cleanups in logging.
Fixed exiting the application after failed xml file read.