aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-01-05 19:00:28 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-01-05 19:00:28 +1300
commit17b247bb7d55be49ef1ca24465e81c350ca7b49c (patch)
tree7c73c2781555b20769f3388c726f2ae2e47fa9bb
parent405d72750e65a2205afb136eeaa0e4aee70bc25e (diff)
downloadtrackermap-server-17b247bb7d55be49ef1ca24465e81c350ca7b49c.tar.gz
trackermap-server-17b247bb7d55be49ef1ca24465e81c350ca7b49c.tar.bz2
trackermap-server-17b247bb7d55be49ef1ca24465e81c350ca7b49c.zip
Log server version on start
-rw-r--r--pom.xml2
-rw-r--r--src/org/traccar/Main.java2
2 files changed, 4 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index bc72edc76..50d483e58 100644
--- a/pom.xml
+++ b/pom.xml
@@ -99,6 +99,8 @@
<mainClass>org.traccar.Main</mainClass>
<addClasspath>true</addClasspath>
<classpathPrefix>lib/</classpathPrefix>
+ <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+ <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
</archive>
</configuration>
diff --git a/src/org/traccar/Main.java b/src/org/traccar/Main.java
index b7ae3e924..53abb37e4 100644
--- a/src/org/traccar/Main.java
+++ b/src/org/traccar/Main.java
@@ -28,6 +28,8 @@ public class Main {
Log.info("Starting server...");
Log.logSystemInfo();
+
+ Log.info("Version: " + Main.class.getPackage().getImplementationVersion());
service.start();