add core logging to connection
make log clear
Merge pull request #21 from chris-rock/log

add core logging