apisix icon indicating copy to clipboard operation
apisix copied to clipboard

request help: How to turn off access log?

Open fregie opened this issue 6 years ago • 3 comments

Issue description

My apisix run in docker and It's may be dangerous if access.log keep logging. I want to turn off the access log.

fregie avatar Nov 12 '20 04:11 fregie

I think turn the access log off is not a good idea.

idbeta avatar Nov 13 '20 06:11 idbeta

I have written a plugin to upload access log to my log service,so I don't need nginx save a access.log in container. I think it's ncecssary providing a switch of access log.

fregie avatar Nov 13 '20 08:11 fregie

@fregie There is no way to turn off access log now, but you can add the feature. Pull request is welcome!

spacewander avatar Nov 14 '20 13:11 spacewander