diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-06-30 22:30:01 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-06-30 22:30:01 +1200 |
commit | 23de67f6f8fe2406729c8a97fee662c940165288 (patch) | |
tree | 56e289339c1d555af453376426e70063596ffb2c /src/org | |
parent | 56c3e4ddba664fdd30082733d1961d571e3281fc (diff) | |
download | traccar-server-23de67f6f8fe2406729c8a97fee662c940165288.tar.gz traccar-server-23de67f6f8fe2406729c8a97fee662c940165288.tar.bz2 traccar-server-23de67f6f8fe2406729c8a97fee662c940165288.zip |
Log system information first
Diffstat (limited to 'src/org')
-rw-r--r-- | src/org/traccar/Main.java | 3 | ||||
-rw-r--r-- | src/org/traccar/helper/Log.java | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/org/traccar/Main.java b/src/org/traccar/Main.java index 834b37eff..ae4ed4835 100644 --- a/src/org/traccar/Main.java +++ b/src/org/traccar/Main.java @@ -24,10 +24,7 @@ public class Main { Locale.setDefault(Locale.ENGLISH); Context.init(args); - Log.info("Starting server..."); - Log.logSystemInfo(); - Log.info("Version: " + Main.class.getPackage().getImplementationVersion()); Context.getServerManager().start(); if (Context.getWebServer() != null) { diff --git a/src/org/traccar/helper/Log.java b/src/org/traccar/helper/Log.java index 3bf96d120..6ae46163b 100644 --- a/src/org/traccar/helper/Log.java +++ b/src/org/traccar/helper/Log.java @@ -63,6 +63,9 @@ public class Log { return new NettyInternalLogger(); } }); + + Log.logSystemInfo(); + Log.info("Version: " + Log.class.getPackage().getImplementationVersion()); } public static Logger getLogger() { |