changing logging parameters to show both name and id.