first commit
add log
add socket