@@ -70,7 +70,7 @@ public OutboundSettings outboundSettings(Address destination) {
7070 public void outboundSettings (Address destination , int lossPercent , int meanDelay ) {
7171 OutboundSettings settings = new OutboundSettings (lossPercent , meanDelay );
7272 outboundSettings .put (destination , settings );
73- LOGGER .debug ("Set outbound settings {} from {} to {}" , settings , address , destination );
73+ LOGGER .debug ("[{}] Set outbound settings {} to {}" , address , settings , destination );
7474 }
7575
7676 /**
@@ -81,21 +81,21 @@ public void outboundSettings(Address destination, int lossPercent, int meanDelay
8181 */
8282 public void setDefaultOutboundSettings (int lossPercent , int meanDelay ) {
8383 defaultOutboundSettings = new OutboundSettings (lossPercent , meanDelay );
84- LOGGER .debug ("Set default outbound settings {} for {} " , defaultOutboundSettings , address );
84+ LOGGER .debug ("[{}] Set default outbound settings {}" , address , defaultOutboundSettings );
8585 }
8686
8787 /** Blocks outbound messages to all destinations. */
8888 public void blockAllOutbound () {
8989 outboundSettings .clear ();
9090 setDefaultOutboundSettings (100 , 0 );
91- LOGGER .debug ("Blocked outbound from {} to all destinations" , address );
91+ LOGGER .debug ("[{}] Blocked outbound to all destinations" , address );
9292 }
9393
9494 /** Unblocks outbound messages to all destinations. */
9595 public void unblockAllOutbound () {
9696 outboundSettings .clear ();
9797 setDefaultOutboundSettings (0 , 0 );
98- LOGGER .debug ("Unblocked outbound from {} to all destinations" , address );
98+ LOGGER .debug ("[{}] Unblocked outbound to all destinations" , address );
9999 }
100100
101101 /**
@@ -116,7 +116,7 @@ public void blockOutbound(Collection<Address> destinations) {
116116 for (Address destination : destinations ) {
117117 outboundSettings .put (destination , new OutboundSettings (100 , 0 ));
118118 }
119- LOGGER .debug ("Blocked outbound from {} to {}" , address , destinations );
119+ LOGGER .debug ("[{}] Blocked outbound to {}" , address , destinations );
120120 }
121121
122122 /**
@@ -135,7 +135,7 @@ public void unblockOutbound(Address... destinations) {
135135 */
136136 public void unblockOutbound (Collection <Address > destinations ) {
137137 destinations .forEach (outboundSettings ::remove );
138- LOGGER .debug ("Unblocked outbound from {} to {}" , address , destinations );
138+ LOGGER .debug ("[{}] Unblocked outbound {}" , address , destinations );
139139 }
140140
141141 /**
@@ -221,7 +221,7 @@ public InboundSettings inboundSettings(Address destination) {
221221 public void inboundSettings (Address destination , boolean shallPass ) {
222222 InboundSettings settings = new InboundSettings (shallPass );
223223 inboundSettings .put (destination , settings );
224- LOGGER .debug ("Set inbound settings {} from {} to {}" , settings , address , destination );
224+ LOGGER .debug ("[{}] Set inbound settings {} to {}" , address , settings , destination );
225225 }
226226
227227 /**
@@ -231,21 +231,21 @@ public void inboundSettings(Address destination, boolean shallPass) {
231231 */
232232 public void setDefaultInboundSettings (boolean shallPass ) {
233233 defaultInboundSettings = new InboundSettings (shallPass );
234- LOGGER .debug ("Set default inbound settings {} for {} " , defaultInboundSettings , address );
234+ LOGGER .debug ("[{}] Set default inbound settings {}" , address , defaultInboundSettings );
235235 }
236236
237237 /** Blocks inbound messages from all destinations. */
238238 public void blockAllInbound () {
239239 inboundSettings .clear ();
240240 setDefaultInboundSettings (false );
241- LOGGER .debug ("Blocked inbound to {} from all destinations" , address );
241+ LOGGER .debug ("[{}] Blocked inbound from all destinations" , address );
242242 }
243243
244244 /** Unblocks inbound messages to all destinations. */
245245 public void unblockAllInbound () {
246246 inboundSettings .clear ();
247247 setDefaultInboundSettings (true );
248- LOGGER .debug ("Unblocked inbound to {} from all destinations" , address );
248+ LOGGER .debug ("[{}] Unblocked inbound from all destinations" , address );
249249 }
250250
251251 /**
@@ -266,7 +266,7 @@ public void blockInbound(Collection<Address> destinations) {
266266 for (Address destination : destinations ) {
267267 inboundSettings .put (destination , new InboundSettings (false ));
268268 }
269- LOGGER .debug ("Blocked inbound to {} from {}" , address , destinations );
269+ LOGGER .debug ("[{}] Blocked inbound from {}" , address , destinations );
270270 }
271271
272272 /**
@@ -285,7 +285,7 @@ public void unblockInbound(Address... destinations) {
285285 */
286286 public void unblockInbound (Collection <Address > destinations ) {
287287 destinations .forEach (inboundSettings ::remove );
288- LOGGER .debug ("Unblocked inbound to {} from {}" , address , destinations );
288+ LOGGER .debug ("[{}] Unblocked inbound from {}" , address , destinations );
289289 }
290290
291291 /**
0 commit comments