Add better logging on config file format errors