localization algorithm log