From cc9c8b2793a000d6ad3e844c5654bd6a996d592b Mon Sep 17 00:00:00 2001 From: Gavriel Fleischer Date: Tue, 8 Jan 2019 10:56:20 +0200 Subject: use String formatting in logging --- src/org/traccar/ServerManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/org/traccar') 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()); } } } -- cgit v1.2.3