Debugging output left in tcp_connecter.cpp

Description

commit 87ed7ba73153e9ad875cd587c5f4b81b3988310e
Author: Seth Raphael <seth@bu.mp>
Date: Tue Jun 12 10:55:33 2012 -0700

add debugging line to tcp_connector

src/tcp_connecter.cpp | 1 +
1 file changed, 1 insertion

diff --git a/src/tcp_connecter.cpp b/src/tcp_connecter.cpp
index 6bc1b2d..31bde5b 100644
— a/src/tcp_connecter.cpp
+++ b/src/tcp_connecter.cpp
@@ -290,6 +290,7 @@ zmq::fd_t zmq::tcp_connecter_t::connect ()
socklen_t len = sizeof (err);
#endif
int rc = getsockopt (s, SOL_SOCKET, SO_ERROR, (char*) &err, &len);
+ fprintf(stderr, "zmq connect socket fd is %d\n", s);
if (rc == -1)
err = errno;
if (err != 0) {

Environment

None

Activity

Show:

AndrewAJuly 26, 2012 at 1:07 PM

Please remove this line for debugging or set an error log level.

"fprintf(stderr, "zmq connect socket fd is %d\n", s);"

This causes error logs to fill up when you have a large proportion of connections.

Fixed

Details

Assignee

Reporter

Fix versions

Affects versions

Priority

Created July 9, 2012 at 8:18 AM
Updated July 26, 2012 at 1:07 PM
Resolved July 9, 2012 at 8:29 AM