From 23de67f6f8fe2406729c8a97fee662c940165288 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Tue, 30 Jun 2015 22:30:01 +1200 Subject: Log system information first --- src/org/traccar/Main.java | 3 --- src/org/traccar/helper/Log.java | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/org') 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() { -- cgit v1.2.3