formating search log