set the log xid before we read the POST data