diff options
author | jkoan <jkoan@gmx.de> | 2020-08-10 10:23:28 +0200 |
---|---|---|
committer | Viktor Verebelyi <vviktor2@gmail.com> | 2020-09-22 02:16:23 +0100 |
commit | 01e1d439cadf697c4902e9090d618912e4a0e3a1 (patch) | |
tree | 83e8dc38eb74e4ea19b3cf94e333ef4d209f6837 | |
parent | 1a7502dc3bc6663f24c379b06656cb04aecad644 (diff) | |
download | navit-01e1d439cadf697c4902e9090d618912e4a0e3a1.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) { |