aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/org/traccar/MainEventHandler.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/org/traccar/MainEventHandler.java b/src/org/traccar/MainEventHandler.java
index 9c28d7c9d..e0d7b0962 100644
--- a/src/org/traccar/MainEventHandler.java
+++ b/src/org/traccar/MainEventHandler.java
@@ -41,7 +41,9 @@ public class MainEventHandler extends IdleStateAwareChannelHandler {
s.append("id: ").append(position.getDeviceId()).append(", ");
s.append("time: ").append(position.getFixTime()).append(", ");
s.append("lat: ").append(position.getLatitude()).append(", ");
- s.append("lon: ").append(position.getLongitude());
+ s.append("lon: ").append(position.getLongitude()).append(", ");
+ s.append("speed: ").append(position.getSpeed()).append(", ");
+ s.append("course: ").append(position.getCourse()).append(", ");
Log.info(s.toString());
Context.getConnectionManager().update(position);