changed logging to capture doi