summaryrefslogtreecommitdiff
path: root/jsonrpc/src/main/java/com
diff options
context:
space:
mode:
authorKjetil Ørbekk <kjetil.orbekk@gmail.com>2012-01-10 21:02:45 +0100
committerKjetil Ørbekk <kjetil.orbekk@gmail.com>2012-01-10 21:02:45 +0100
commit3fd156ef2cd87e0b70dc5906aad7071ab908cedf (patch)
tree7d99efe9348cba44096f061f3475583bc1207584 /jsonrpc/src/main/java/com
parentf71862b92f3d76251036485c27cf3a6a899635ab (diff)
Set default log level to INFO.
Sets default log level to INFO. Sets log level to DEBUG for com.orbekk packages.
Diffstat (limited to 'jsonrpc/src/main/java/com')
-rw-r--r--jsonrpc/src/main/java/com/orbekk/same/SameServiceImpl.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/jsonrpc/src/main/java/com/orbekk/same/SameServiceImpl.java b/jsonrpc/src/main/java/com/orbekk/same/SameServiceImpl.java
index 56a0fa1..7e1de00 100644
--- a/jsonrpc/src/main/java/com/orbekk/same/SameServiceImpl.java
+++ b/jsonrpc/src/main/java/com/orbekk/same/SameServiceImpl.java
@@ -23,8 +23,9 @@ public class SameServiceImpl implements SameService {
@Override
public String participateNetwork(String networkName) {
logger.info("Got participation request.");
- if (networkName != this.networkName) {
- logger.info("Network name mismatch.");
+ if (!networkName.equals(this.networkName)) {
+ logger.warn("Client tried to join {}, but network name is {}.",
+ networkName, this.networkName);
}
return "<Not implemented>";
}