浏览代码

lds_config_from_grpc增加logFormat

ChenHaolong 7 月之前
父节点
当前提交
efe6aa1ce0
共有 1 个文件被更改,包括 1 次插入0 次删除
  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
     }