9

How to config traefik to log request_body in logfile?

my config file is as below:

traefik.toml 

logLevel="INFO"

defaultEntryPoints = ["http", "https"]

[accessLog]
format = "json"
Sociopath
  • 13,068
  • 19
  • 47
  • 75
Hillbun Ng
  • 91
  • 3

1 Answers1

2

Traefik doesn't support this feature.

And what is maybe even more important, it was decided to not support this feature. You can check the reasons here: https://github.com/containous/traefik/issues/6704

dmaixner
  • 808
  • 1
  • 7
  • 16