diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2013-07-30 20:42:02 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2013-07-30 20:42:02 +1200 |
commit | 110c49504f87c025423c923500bd52ea4615b33b (patch) | |
tree | 2398fd3fa3286b35b6f80cad51b59703d3065b6e /src/org/traccar/http | |
parent | 5f75f109dfc1140d2f644857d877baf88cb1fe83 (diff) | |
download | traccar-server-110c49504f87c025423c923500bd52ea4615b33b.tar.gz traccar-server-110c49504f87c025423c923500bd52ea4615b33b.tar.bz2 traccar-server-110c49504f87c025423c923500bd52ea4615b33b.zip |
Improve logging system (fix #278)
Diffstat (limited to 'src/org/traccar/http')
-rw-r--r-- | src/org/traccar/http/WebServer.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/org/traccar/http/WebServer.java b/src/org/traccar/http/WebServer.java index 59c212d01..4afd4ed7a 100644 --- a/src/org/traccar/http/WebServer.java +++ b/src/org/traccar/http/WebServer.java @@ -61,7 +61,7 @@ public class WebServer { context.bind("java:/DefaultDS", ds); } catch (Exception error) { - Log.warning(error.getMessage()); + Log.warning(error); } } @@ -86,7 +86,7 @@ public class WebServer { try { server.start(); } catch (Exception error) { - Log.warning(error.getMessage()); + Log.warning(error); } } @@ -94,7 +94,7 @@ public class WebServer { try { server.stop(); } catch (Exception error) { - Log.warning(error.getMessage()); + Log.warning(error); } } |