aboutsummaryrefslogtreecommitdiff
path: root/src/Main.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/Main.java')
-rw-r--r--src/Main.java5
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();
}
});