Parcourir la source

limelight修改推送日志的字段

ChenHaolong il y a 1 an
Parent
commit
75d8841870
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/main.py

+ 1 - 1
src/main.py

@@ -92,7 +92,7 @@ def lds_config_from_grpc(request):
     return {
         "compressionType": "gzip",
         "isActive": "true",
-        "logFields": ["c-ip", "c-country-code", "datetime", "cs-method", "cs-http-proto", "cs-uri-host", "s-host",
+        "logFields": ["c-ip", "c-country-code", "datetime", "cs-method", "cs-uri-host", "cs-uri",
                       "sc-status", "sc-bytes", "cs-user-agent", "duration", "x-firstnode-cached"],
         "name": request.name,
         "serviceType": "http",