Fixed log messages order.