Modify to pick up existing doc log and append new docs to it.
Modify to pick up existing doc log and append new docs to it.