fixing logging and added callback api to get config modifications