Browse Source

lds_config_from_grpc增加logFormat

ChenHaolong 7 months ago
parent
commit
efe6aa1ce0
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/main.py

+ 1 - 0
src/main.py

@@ -102,6 +102,7 @@ def lds_config_from_grpc(request):
         "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,
+        "logFormat": "jsonLines",
         "serviceType": "http",
         "storage": storage
     }