tyk icon indicating copy to clipboard operation
tyk copied to clipboard

Ability to globally disable detailed logging

Open jvisker opened this issue 3 years ago • 3 comments

Is your feature request related to a problem? Please describe. From a security perspective it is concerning that detailed logging can be turned on so easily. Especially if we don't want it on ever.

Describe the solution you'd like Add a new config parameter that will allow us to disable detailed logging globally.

Describe alternatives you've considered We can just try to make sure that is never enabled on any of the APIs.

jvisker avatar Jun 23 '22 20:06 jvisker

Hello @jvisker that can definitely be done.

You can turn off detailed logging on gateway level, globally in Tyk Pump or per pump.

Hope this helps!

zalbiraw avatar Jun 23 '22 22:06 zalbiraw

You can turn it off on the pumps, but not at the gateway. On the gateway that flag controls the global default but still allows it to be overridden at the api and session level. I wouldn't want it to be overridden in this scenario.

jvisker avatar Jun 24 '22 04:06 jvisker

Ah gotcha!

zalbiraw avatar Jun 24 '22 12:06 zalbiraw

The future of Tyk's analytics logging (as part of Observability) lies with Open Telemetry. We won't be implementing this suggestion as-is, however the additional flexibility that will be introduced with Open Telemetry should, I believe, meet your needs.

andyo-tyk avatar Apr 14 '23 17:04 andyo-tyk