Fix the log order.