diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/org/traccar/MainEventHandler.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/org/traccar/MainEventHandler.java b/src/org/traccar/MainEventHandler.java index 9c28d7c9d..ca3d42e10 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()); Log.info(s.toString()); Context.getConnectionManager().update(position); |