bus navigation log processing code