Rearranged the idle log for easier queries.