aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar
diff options
context:
space:
mode:
authorGavriel Fleischer <flocsy@gmail.com>2019-01-08 10:56:20 +0200
committerGavriel Fleischer <flocsy@gmail.com>2019-01-08 10:56:20 +0200
commitcc9c8b2793a000d6ad3e844c5654bd6a996d592b (patch)
tree2ebbf5c20154bc0a13467c93941b2edd00fa8afa /src/org/traccar
parent4f2b8116b74bc1c2a714bc4143e1b460882b2507 (diff)
downloadtraccar-server-cc9c8b2793a000d6ad3e844c5654bd6a996d592b.tar.gz
traccar-server-cc9c8b2793a000d6ad3e844c5654bd6a996d592b.tar.bz2
traccar-server-cc9c8b2793a000d6ad3e844c5654bd6a996d592b.zip
use String formatting in logging
Diffstat (limited to 'src/org/traccar')
-rw-r--r--src/org/traccar/ServerManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/ServerManager.java b/src/org/traccar/ServerManager.java
index bfdbed06d..753156b5c 100644
--- a/src/org/traccar/ServerManager.java
+++ b/src/org/traccar/ServerManager.java
@@ -88,7 +88,7 @@ public class ServerManager {
try {
server.start();
} catch (BindException e) {
- LOGGER.warn("Port " + server.getPort() + " is disabled due to conflict");
+ LOGGER.warn("Port %d is disabled due to conflict", server.getPort());
}
}
}