diff options
author | jkoan <jkoan@gmx.de> | 2020-08-10 10:23:28 +0200 |
---|---|---|
committer | jkoan <jkoan@users.noreply.github.com> | 2020-08-12 15:39:29 +0200 |
commit | 27d48440d0ee90356759f07cf4205fef0a4c7553 (patch) | |
tree | 298603764f01a8f6c07d7bebdfe512790bf2e49a | |
parent | 5e1377cb1aab19bbbac6740e1f8ee80b75b4adb6 (diff) | |
download | navit-27d48440d0ee90356759f07cf4205fef0a4c7553.tar.gz |
fix:core:Optimize log message for required vehicle attributes
-rw-r--r-- | navit/track.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/navit/track.c b/navit/track.c index 0bc702b7e..70b89c6fc 100644 --- a/navit/track.c +++ b/navit/track.c @@ -637,10 +637,11 @@ void tracking_update(struct tracking *tr, struct vehicle *v, struct vehicleprofi !vehicle_get_attr(tr->vehicle, attr_position_direction, &direction_attr, NULL) || !vehicle_get_attr(tr->vehicle, attr_position_coord_geo, &coord_geo, NULL) || !vehicle_get_attr(tr->vehicle, attr_position_time_iso8601, &time_attr, NULL)) { - dbg(lvl_error,"failed to get position data %d %d %d", + dbg(lvl_error,"failed to get position data speed:%d direction:%d coord:%d time:%d", vehicle_get_attr(tr->vehicle, attr_position_speed, &speed_attr, NULL), vehicle_get_attr(tr->vehicle, attr_position_direction, &direction_attr, NULL), - vehicle_get_attr(tr->vehicle, attr_position_coord_geo, &coord_geo, NULL)); + vehicle_get_attr(tr->vehicle, attr_position_coord_geo, &coord_geo, NULL), + vehicle_get_attr(tr->vehicle, attr_position_time_iso8601, &time_attr, NULL)); return; } if (tr->tunnel_extrapolation) { |