More diagnostic logging for DOI creation