Add message order to logfile.