Logger already supports formatting strings, no need to pre-format
them.
Change-Id: Iea96443126bad0ca483ec0cc775d081384028497
Signed-off-by: Robert Varga <rovarga@cisco.com>
} catch (Exception e){
lastException = e;
Uninterruptibles.sleepUninterruptibly(100, TimeUnit.MILLISECONDS);
- LOG.debug(String.format("Could not create actor %s because of %s - waiting for sometime before retrying (retry count = %d)", shardManagerId, e.getMessage(), i));
+ LOG.debug("Could not create actor {} because of {} - waiting for sometime before retrying (retry count = {})",
+ shardManagerId, e.getMessage(), i);
}
}