@@ -111,7 +111,7 @@ fn start_method_handler_thread(
111
111
// notify the connection dealing main thread to stop.
112
112
control_tx
113
113
. try_send ( ( ) )
114
- . unwrap_or_else ( |err| warn ! ( "Failed to try send {:?}" , err) ) ;
114
+ . unwrap_or_else ( |err| debug ! ( "Failed to try send {:?}" , err) ) ;
115
115
break ;
116
116
}
117
117
result = read_message ( fd) ;
@@ -121,15 +121,15 @@ fn start_method_handler_thread(
121
121
// notify the connection dealing main thread to stop.
122
122
control_tx
123
123
. try_send ( ( ) )
124
- . unwrap_or_else ( |err| warn ! ( "Failed to try send {:?}" , err) ) ;
124
+ . unwrap_or_else ( |err| debug ! ( "Failed to try send {:?}" , err) ) ;
125
125
break ;
126
126
}
127
127
128
128
let c = wtc. fetch_sub ( 1 , Ordering :: SeqCst ) - 1 ;
129
129
if c < min {
130
130
control_tx
131
131
. try_send ( ( ) )
132
- . unwrap_or_else ( |err| warn ! ( "Failed to try send {:?}" , err) ) ;
132
+ . unwrap_or_else ( |err| debug ! ( "Failed to try send {:?}" , err) ) ;
133
133
}
134
134
135
135
let mh;
@@ -148,7 +148,7 @@ fn start_method_handler_thread(
148
148
// have exited.
149
149
control_tx
150
150
. try_send ( ( ) )
151
- . unwrap_or_else ( |err| warn ! ( "Failed to try send {:?}" , err) ) ;
151
+ . unwrap_or_else ( |err| debug ! ( "Failed to try send {:?}" , err) ) ;
152
152
break ;
153
153
}
154
154
_ => {
@@ -175,7 +175,7 @@ fn start_method_handler_thread(
175
175
// exited.
176
176
control_tx
177
177
. try_send ( ( ) )
178
- . unwrap_or_else ( |err| warn ! ( "Failed to try send {:?}" , err) ) ;
178
+ . unwrap_or_else ( |err| debug ! ( "Failed to try send {:?}" , err) ) ;
179
179
break ;
180
180
}
181
181
continue ;
@@ -198,7 +198,7 @@ fn start_method_handler_thread(
198
198
// exited.
199
199
control_tx
200
200
. try_send ( ( ) )
201
- . unwrap_or_else ( |err| warn ! ( "Failed to try send {:?}" , err) ) ;
201
+ . unwrap_or_else ( |err| debug ! ( "Failed to try send {:?}" , err) ) ;
202
202
break ;
203
203
}
204
204
continue ;
@@ -216,7 +216,7 @@ fn start_method_handler_thread(
216
216
// exited.
217
217
control_tx
218
218
. try_send ( ( ) )
219
- . unwrap_or_else ( |err| warn ! ( "Failed to try send {:?}" , err) ) ;
219
+ . unwrap_or_else ( |err| debug ! ( "Failed to try send {:?}" , err) ) ;
220
220
break ;
221
221
}
222
222
}
@@ -476,7 +476,7 @@ impl Server {
476
476
close ( fd) . unwrap_or ( ( ) ) ;
477
477
reaper_tx_child. send ( fd) . unwrap ( ) ;
478
478
479
- info ! ( "client thread quit" ) ;
479
+ debug ! ( "client thread quit" ) ;
480
480
} )
481
481
. unwrap ( ) ;
482
482
0 commit comments