aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeandro Silva Ferreira <leandrosilvaferreira@gmail.com>2012-08-11 18:27:37 -0400
committerLeandro Silva Ferreira <leandrosilvaferreira@gmail.com>2012-08-11 18:27:37 -0400
commit485d9e45883b4f028f76a6d05c5a72de08736e4c (patch)
treebb1980b323b805cb4e98b3215b869a66503c02e9
parent4709481ccb413fe04e21abb8be3165ec78ee18ef (diff)
downloadtraccar-server-485d9e45883b4f028f76a6d05c5a72de08736e4c.tar.gz
traccar-server-485d9e45883b4f028f76a6d05c5a72de08736e4c.tar.bz2
traccar-server-485d9e45883b4f028f76a6d05c5a72de08736e4c.zip
Added more position fields on log
-rw-r--r--src/org/traccar/TrackerEventHandler.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/org/traccar/TrackerEventHandler.java b/src/org/traccar/TrackerEventHandler.java
index e4e45a174..2a66a084f 100644
--- a/src/org/traccar/TrackerEventHandler.java
+++ b/src/org/traccar/TrackerEventHandler.java
@@ -55,7 +55,9 @@ public class TrackerEventHandler extends SimpleChannelHandler {
", longitude: " + position.getLongitude() +
", altitude: " + position.getAltitude() +
", speed: " + position.getSpeed() +
- ", course: " + position.getCourse());
+ ", course: " + position.getCourse() +
+ ", power: " + position.getPower() +
+ ", mode: " + position.getMode());
}
// Write position to database