TOKYO - Shinzo Abe became the longest-serving Japanese prime minister on Wednesday with a total of 2,887 days in office, breaking the previous record set by Taro Katsura over a century ago.