@@ -314,7 +314,7 @@ public synchronized void deliverEvent(long eventId) throws Exception {
314
314
315
315
// if it is a MessageEvent and there is no connectivity between the nodes, drop it
316
316
if (e instanceof MessageEvent m && !router .haveConnectivity (m .getSenderId (), m .getRecipientId ())) {
317
- log .info ("Dropped: " + m .getSenderId () + "->" + m .getRecipientId () + ": " + m .getPayload ());
317
+ //// log.info("Dropped: " + m.getSenderId() + "->" + m.getRecipientId() + ": " + m.getPayload());
318
318
m .setStatus (Event .Status .DROPPED );
319
319
return ;
320
320
}
@@ -341,7 +341,7 @@ public synchronized void deliverEvent(long eventId) throws Exception {
341
341
}
342
342
}
343
343
344
- log .info ("Delivered " + e );
344
+ // log.info("Delivered " + e);
345
345
}
346
346
347
347
/**
@@ -361,7 +361,7 @@ public synchronized void dropEvent(long eventId) {
361
361
}
362
362
e .setStatus (Event .Status .DROPPED );
363
363
this .observers .forEach (o -> o .onEventDropped (e ));
364
- log .info ("Dropped: " + e );
364
+ // log.info("Dropped: " + e);
365
365
}
366
366
367
367
/**
@@ -432,7 +432,7 @@ public synchronized void applyMutation(long eventId, Fault fault) {
432
432
this .scenario .getSchedule ().appendEvent (mutateMessageEvent );
433
433
this .observers .forEach (o -> o .onMessageMutation (mutateMessageEvent .getPayload ()));
434
434
435
- log .info ("Mutated: " + m );
435
+ // log.info("Mutated: " + m);
436
436
}
437
437
438
438
public synchronized void applyFault (String faultId ) {
@@ -485,7 +485,7 @@ public synchronized long setTimeout(Node node, Runnable runnable,
485
485
.build ();
486
486
this .appendEvent (timeoutEvent );
487
487
this .observers .forEach (o -> o .onTimeout (timeoutEvent ));
488
- log .info ("Timeout set for " + node .getId () + " in " + timeout + "ms: " + timeoutEvent );
488
+ // log.info("Timeout set for " + node.getId() + " in " + timeout + "ms: " + timeoutEvent);
489
489
return timeoutEvent .getEventId ();
490
490
}
491
491
@@ -503,8 +503,8 @@ public synchronized long setTimeout(Replica replica, Runnable runnable,
503
503
this .observers .forEach (o -> o .onTimeout (timeoutEvent ));
504
504
505
505
506
- log .info (description + " timeout set for " + replica .getId () + " in " +
507
- timeout + "ms: " + timeoutEvent );
506
+ // log.info(description + " timeout set for " + replica.getId() + " in " +
507
+ // timeout + "ms: " + timeoutEvent);
508
508
return timeoutEvent .getEventId ();
509
509
}
510
510
@@ -523,8 +523,8 @@ public synchronized long setClientTimeout(String clientId, Runnable runnable,
523
523
this .observers .forEach (o -> o .onTimeout (timeoutEvent ));
524
524
525
525
526
- log .info ("Timeout set for " + clientId + " in " +
527
- timeout + "ms: " + timeoutEvent );
526
+ // log.info("Timeout set for " + clientId + " in " +
527
+ // timeout + "ms: " + timeoutEvent);
528
528
return timeoutEvent .getEventId ();
529
529
}
530
530
0 commit comments