aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/MainEventHandler.java
diff options
context:
space:
mode:
authorGavriel Fleischer <flocsy@gmail.com>2019-01-09 11:13:44 +0200
committerGavriel Fleischer <flocsy@gmail.com>2019-01-09 11:13:44 +0200
commitaba6d255f696272a633764796410cb9a9534c593 (patch)
tree4a00a7da447d22742ad26b17f1b87eb6ed6b1fd2 /src/org/traccar/MainEventHandler.java
parent1d10aeb4671943f851026cb248e7ef24a022174c (diff)
downloadtrackermap-server-aba6d255f696272a633764796410cb9a9534c593.tar.gz
trackermap-server-aba6d255f696272a633764796410cb9a9534c593.tar.bz2
trackermap-server-aba6d255f696272a633764796410cb9a9534c593.zip
fixed log order
Diffstat (limited to 'src/org/traccar/MainEventHandler.java')
-rw-r--r--src/org/traccar/MainEventHandler.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/org/traccar/MainEventHandler.java b/src/org/traccar/MainEventHandler.java
index 76cb3e132..d4e1ff860 100644
--- a/src/org/traccar/MainEventHandler.java
+++ b/src/org/traccar/MainEventHandler.java
@@ -29,6 +29,7 @@ import org.traccar.model.Position;
import java.sql.SQLException;
import java.util.Arrays;
import java.util.HashSet;
+import java.util.LinkedHashSet;
import java.util.Set;
public class MainEventHandler extends ChannelInboundHandlerAdapter {
@@ -44,7 +45,7 @@ public class MainEventHandler extends ChannelInboundHandlerAdapter {
if (connectionlessProtocolList != null) {
connectionlessProtocols.addAll(Arrays.asList(connectionlessProtocolList.split(",")));
}
- logEvents = new HashSet<>(Arrays.asList(
+ logEvents = new LinkedHashSet<>(Arrays.asList(
Context.getConfig().getString("logger.events", DEFAULT_LOGGER_EVENTS).split(",")));
}