@@ -1831,7 +1831,7 @@ impl Container {
1831
1831
already_cancelled = true ;
1832
1832
1833
1833
let msg = CoordinatorMessage :: Kill ;
1834
- trace!( "processing { msg:?} ") ;
1834
+ trace!( msg_name = msg. as_ref ( ) , "processing ") ;
1835
1835
to_worker_tx. send( msg) . await . context( KillSnafu ) ?;
1836
1836
} ,
1837
1837
@@ -1847,12 +1847,12 @@ impl Container {
1847
1847
}
1848
1848
} ;
1849
1849
1850
- trace!( "processing { msg:?} ") ;
1850
+ trace!( msg_name = msg. as_ref ( ) , "processing ") ;
1851
1851
to_worker_tx. send( msg) . await . context( StdinSnafu ) ?;
1852
1852
} ,
1853
1853
1854
1854
Some ( container_msg) = from_worker_rx. recv( ) => {
1855
- trace!( "processing { container_msg:?} ") ;
1855
+ trace!( msg_name = container_msg. as_ref ( ) , "processing ") ;
1856
1856
1857
1857
match container_msg {
1858
1858
WorkerMessage :: ExecuteCommand ( resp) => {
@@ -2382,13 +2382,13 @@ impl Commander {
2382
2382
Command ( Some ( ( ack_tx, command) ) ) => {
2383
2383
match command {
2384
2384
DemultiplexCommand :: Listen ( job_id, waiter) => {
2385
- trace ! ( "adding listener for {job_id:?} " ) ;
2385
+ trace ! ( job_id , "adding listener (many) " ) ;
2386
2386
let old = waiting. insert ( job_id, waiter) ;
2387
2387
ensure ! ( old. is_none( ) , DuplicateDemultiplexerClientSnafu { job_id } ) ;
2388
2388
}
2389
2389
2390
2390
DemultiplexCommand :: ListenOnce ( job_id, waiter) => {
2391
- trace ! ( "adding listener for {job_id:?} " ) ;
2391
+ trace ! ( job_id , "adding listener (once) " ) ;
2392
2392
let old = waiting_once. insert ( job_id, waiter) ;
2393
2393
ensure ! ( old. is_none( ) , DuplicateDemultiplexerClientSnafu { job_id } ) ;
2394
2394
}
@@ -2400,18 +2400,18 @@ impl Commander {
2400
2400
FromWorker ( None ) => break ,
2401
2401
FromWorker ( Some ( Multiplexed ( job_id, msg) ) ) => {
2402
2402
if let Some ( waiter) = waiting_once. remove ( & job_id) {
2403
- trace ! ( "notifying listener for {job_id:?} " ) ;
2403
+ trace ! ( job_id , "notifying listener (once) " ) ;
2404
2404
waiter. send ( msg) . ok ( /* Don't care about it */ ) ;
2405
2405
continue ;
2406
2406
}
2407
2407
2408
2408
if let Some ( waiter) = waiting. get ( & job_id) {
2409
- trace ! ( "notifying listener for {job_id:?} " ) ;
2409
+ trace ! ( job_id , "notifying listener (many) " ) ;
2410
2410
waiter. send ( msg) . await . ok ( /* Don't care about it */ ) ;
2411
2411
continue ;
2412
2412
}
2413
2413
2414
- warn ! ( "no listener for {job_id:?} " ) ;
2414
+ warn ! ( job_id , "no listener to notify " ) ;
2415
2415
}
2416
2416
2417
2417
Gc => {
0 commit comments