Adding import info to the log document, including the list of groups.