fixed logging issue in telnet capability