select first document
add log util