diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2012-05-29 23:27:46 +0400 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2012-05-29 23:27:46 +0400 |
commit | 3b61199ca03a602514457cf7ed640ff6d9a39519 (patch) | |
tree | 14099d0648a01f5dc4299894df0fe232ff4870cb /src/Main.java | |
parent | bf8177e17e6ce607e60fe6e43ecf7401af51a03c (diff) | |
download | traccar-server-3b61199ca03a602514457cf7ed640ff6d9a39519.tar.gz traccar-server-3b61199ca03a602514457cf7ed640ff6d9a39519.tar.bz2 traccar-server-3b61199ca03a602514457cf7ed640ff6d9a39519.zip |
fixed #3
Diffstat (limited to 'src/Main.java')
-rw-r--r-- | src/Main.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Main.java b/src/Main.java index d8a3b397c..8b6f2002e 100644 --- a/src/Main.java +++ b/src/Main.java @@ -1,4 +1,5 @@ import org.traccar.Server; +import org.traccar.helper.Log; public class Main { @@ -7,14 +8,14 @@ public class Main { final Server service = new Server(); service.init(args); - System.out.println("starting server..."); + Log.info("starting server..."); service.start(); // Shutdown server properly Runtime.getRuntime().addShutdownHook(new Thread() { @Override public void run() { - System.out.println("shutting down server..."); + Log.info("shutting down server..."); service.stop(); } }); |