Set up logging, exception resolver