Modify api docs for logs

This PR modifies api docs for logs
close #1302