aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/web/WebServer.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/web/WebServer.java')
-rw-r--r--src/org/traccar/web/WebServer.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/org/traccar/web/WebServer.java b/src/org/traccar/web/WebServer.java
index 32c336164..8887b6af3 100644
--- a/src/org/traccar/web/WebServer.java
+++ b/src/org/traccar/web/WebServer.java
@@ -153,7 +153,7 @@ public class WebServer {
javax.naming.Context context = new InitialContext();
context.bind("java:/DefaultDS", dataSource);
} catch (Exception error) {
- LOGGER.warn(null, error);
+ LOGGER.warn("JNDI context error", error);
}
WebAppContext app = new WebAppContext();
@@ -199,7 +199,7 @@ public class WebServer {
try {
server.start();
} catch (Exception error) {
- LOGGER.warn(null, error);
+ LOGGER.warn("Web server start failed", error);
}
}
@@ -207,7 +207,7 @@ public class WebServer {
try {
server.stop();
} catch (Exception error) {
- LOGGER.warn(null, error);
+ LOGGER.warn("Web server stop failed", error);
}
}