Improve logging and comment the config