Random Inovocation ID
[multicloud/framework.git] / multivimbroker / multivimbroker / middleware.py
index 8bb7357..fd063c3 100644 (file)
@@ -50,7 +50,7 @@ class LogContextMiddleware(object):
             request.META["HTTP_X_TRANSACTIONID"] = ReqeustID
         MDC.put("requestID", ReqeustID)
         # generate the unique  id
-        InovocationID = str(uuid.uuid3(uuid.NAMESPACE_DNS, SERVICE_NAME))
+        InovocationID = str(uuid.uuid4())
         MDC.put("invocationID", InovocationID)
         MDC.put("serviceName", SERVICE_NAME)
         # access ip