robust logging for groups insert