Author: mturk Date: Fri Sep 17 13:21:59 2010 New Revision: 998117 URL: http://svn.apache.org/viewvc?rev=998117&view=rev Log: Log both local and remote connected socket address
Modified: tomcat/jk/trunk/native/common/jk_connect.c Modified: tomcat/jk/trunk/native/common/jk_connect.c URL: http://svn.apache.org/viewvc/tomcat/jk/trunk/native/common/jk_connect.c?rev=998117&r1=998116&r2=998117&view=diff ============================================================================== --- tomcat/jk/trunk/native/common/jk_connect.c (original) +++ tomcat/jk/trunk/native/common/jk_connect.c Fri Sep 17 13:21:59 2010 @@ -423,7 +423,7 @@ jk_sock_t jk_open_socket(struct sockaddr int timeout, int connect_timeout, int sock_buf, jk_logger_t *l) { - char buf[32]; + char buf[64]; jk_sock_t sd; int set = 1; int ret = 0; @@ -627,8 +627,8 @@ iSeries when Unix98 is required at compi } else { if (JK_IS_DEBUG_LEVEL(l)) - jk_log(l, JK_LOG_DEBUG, "socket %d connected to %s", - sd, jk_dump_hinfo(addr, buf)); + jk_log(l, JK_LOG_DEBUG, "socket %d [%s] connected", + sd, jk_dump_sinfo(sd, buf)); } JK_TRACE_EXIT(l); return sd; --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org