@@ -32,7 +32,7 @@ class RetryHandshake
3232 // / result in a confusing mess). This is a highly unusual case, though,
3333 // / so is not specifically supported. We can add better support, if it's
3434 // / ever needed.
35- private Logger log ;
35+ private Logger retry_log ;
3636
3737 // / Timer to retry the handshake.
3838 protected TimerEvent timer;
@@ -90,7 +90,7 @@ class RetryHandshake
9090
9191 this .timer = new TimerEvent(&this .tryHandshake);
9292
93- this .log = Log .lookup(" RetryHandshake" );
93+ this .retry_log = Log .lookup(" RetryHandshake" );
9494
9595 this .tryHandshake();
9696 }
@@ -107,7 +107,7 @@ class RetryHandshake
107107
108108 protected bool tryHandshake ( )
109109 {
110- this .log .info(" Attempting handshake." );
110+ this .retry_log .info(" Attempting handshake." );
111111 this .dht.nodeHandshake(&this .result, &this .handshake_notifier);
112112
113113 return false ;
@@ -129,14 +129,14 @@ class RetryHandshake
129129 {
130130 this .error();
131131
132- this .log .info(" Handshake did not succeed for all nodes. Retrying in {}s" ,
132+ this .retry_log .info(" Handshake did not succeed for all nodes. Retrying in {}s" ,
133133 this .wait_time);
134134 this .epoll.register(this .timer);
135135 this .timer.set(this .wait_time, 0 , 0 , 0 );
136136 }
137137 else
138138 {
139- this .log .info(" Handshake succeeded for all nodes." );
139+ this .retry_log .info(" Handshake succeeded for all nodes." );
140140 this .success();
141141
142142 if ( this .handshake_complete_dg ! is null )
@@ -159,7 +159,7 @@ class RetryHandshake
159159
160160 private void handshake_notifier ( DhtClient.RequestNotification info )
161161 {
162- this .log .trace(" Callback: {}" , info.message(this .dht.msg_buf));
162+ this .retry_log .trace(" Callback: {}" , info.message(this .dht.msg_buf));
163163
164164 this .nodeHandshakeCB(info);
165165
@@ -185,7 +185,7 @@ class RetryHandshake
185185 {
186186 this .established_nodes[node_hash] = true ;
187187 this .one_node_handshake_dg(info.nodeitem);
188- this .log .info(" Handshake succeeded on {}:{}." ,
188+ this .retry_log .info(" Handshake succeeded on {}:{}." ,
189189 info.nodeitem.Address, info.nodeitem.Port);
190190 }
191191 }
0 commit comments