final Builder<RouteKey> builder = ImmutableSet.builder();
final int index = indexOfRouterId(key);
if (index < 0) {
- LOG.trace("Router key not found", key);
+ LOG.trace("Router key {} not found", key);
} else {
builder.add(removeValue(this.routeKeys, index, EMPTY_KEYS));
}
final Builder<UnsignedInteger> builder = ImmutableSet.builder();
final int index = indexOfRouterId(key);
if (index < 0) {
- LOG.trace("Router key not found", key);
+ LOG.trace("Router key {} not found", key);
} else {
builder.add(removeValue(this.routeKeys, index, EMPTY_KEYS));
}
try {
codecs.onCodecTreeUpdated(this.latestCodecTree);
} catch (final Exception e) {
- LOG.error("Codec creation threw {}", e.getMessage(), e);
+ LOG.error("Codec creation threw {}", e);
}
}
}
= this.effRibTables.child(Tables.class, tableKey);
// Create an empty table
- LOG.trace("Create Empty table", tablePath);
+ LOG.trace("Create Empty table at {}", tablePath);
if (table.getDataBefore() == null) {
tx.put(LogicalDatastoreType.OPERATIONAL, tablePath, new TablesBuilder()
.setAfi(tableKey.getAfi()).setSafi(tableKey.getSafi())
return this.peers.get(ip);
// Session reestablished with same source bgp id, dropping current as duplicate
} else {
- LOG.warn("BGP session with %s initiated from %s to %s has to be dropped. Same session already present",
+ LOG.warn("BGP session with {} initiated from {} to {} has to be dropped. Same session already present",
ip, sourceId, remoteId);
throw new BGPDocumentedException(
String.format("BGP session with %s initiated %s has to be dropped. "
messages.add(registry.parseMessage(Unpooled.copiedBuffer(body), null));
}
} catch (final BGPDocumentedException | BGPParsingException e) {
- LOG.warn("Failed to parse message {}", e.getMessage(), e);
+ LOG.warn("Failed to parse message", e);
}
return messages;
}
throw e;
}
attempts--;
- LOG.warn("Failed to register {} service to ClusterSingletonServiceProvider. Try again in {} ms. {}",
+ LOG.warn("Failed to register {} service to ClusterSingletonServiceProvider. Try again in {} ms.",
clusterSingletonService, sleepTime, e);
Uninterruptibles.sleepUninterruptibly(sleepTime, TimeUnit.MILLISECONDS);
}