Code Review
/
controller.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
74175c4
)
Fix logger formatting strings
36/56536/2
author
Robert Varga
<robert.varga@pantheon.tech>
Thu, 4 May 2017 15:51:43 +0000
(17:51 +0200)
committer
Tom Pantelis
<tompantelis@gmail.com>
Thu, 4 May 2017 20:56:13 +0000
(20:56 +0000)
Fix %s/{} mixups.
Change-Id: I916996e17839a61802a83ddff31d162ac662f934
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/persistence/LocalSnapshotStore.java
patch
|
blob
|
history
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/ShardDataTree.java
patch
|
blob
|
history
diff --git
a/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/persistence/LocalSnapshotStore.java
b/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/persistence/LocalSnapshotStore.java
index 0248d73d620f173dc9274ec6c36208f63e31fb82..3e170fd326c4f93272374e34ef2a74bbc2d5277b 100644
(file)
--- a/
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/persistence/LocalSnapshotStore.java
+++ b/
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/persistence/LocalSnapshotStore.java
@@
-185,7
+185,7
@@
public class LocalSnapshotStore extends SnapshotStore {
try {
Files.move(temp.toPath(), actual.toPath(), StandardCopyOption.ATOMIC_MOVE);
} catch (IOException e) {
- LOG.warn("Failed to move
%s to %s. Deleting %s
..", temp, actual, temp, e);
+ LOG.warn("Failed to move
{} to {}. Deleting {}
..", temp, actual, temp, e);
if (!temp.delete()) {
LOG.error("Failed to successfully delete file {}", temp);
}
diff --git
a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/ShardDataTree.java
b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/ShardDataTree.java
index 246f81272a014772071cb2a595ca7bce02315e48..7cc40165d786904ed6c0045da7e9b3cbabe629d6 100644
(file)
--- a/
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/ShardDataTree.java
+++ b/
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/ShardDataTree.java
@@
-254,7
+254,7
@@
public class ShardDataTree extends ShardDataTreeTransactionParent {
dataTree.commit(candidate);
notifyListeners(candidate);
- LOG.debug("{}: state snapshot applied in
%s
", logContext, elapsed);
+ LOG.debug("{}: state snapshot applied in
{}
", logContext, elapsed);
}
/**