add logs to doc gen