Add log feature
Add getname feature
Update doc