set the logging transaction ID earlier in the process