【问题标题】:How to log request_body with traefik?如何使用 traefik 记录 request_body?
【发布时间】:2018-12-24 10:57:52
【问题描述】:

如何配置 traefik 以在 logfile 中记录 request_body?

我的配置文件如下:

traefik.toml 

logLevel="INFO"

defaultEntryPoints = ["http", "https"]

[accessLog]
format = "json"

【问题讨论】:

    标签: post logging request traefik


    【解决方案1】:

    Traefik 不支持此功能。

    更重要的是,决定不支持此功能。你可以在这里查看原因:https://github.com/containous/traefik/issues/6704

    【讨论】:

      猜你喜欢
      • 2011-06-23
      • 1970-01-01
      • 2019-06-07
      • 1970-01-01
      • 1970-01-01
      • 2023-02-11
      • 2019-02-22
      • 2019-02-06
      • 1970-01-01
      相关资源
      最近更新 更多