Basic logging and config fix