begin of order detail logging.