Add doc in log