some log info
improvement regarding connect/disconnect