TCP connect log through logging interface fun