JohnsonCaii opened a new issue, #8343: URL: https://github.com/apache/apisix/issues/8343
### Description ``` $ git clone https://github.com/apache/apisix-docker.git $ cd apisix-docker/example ``` Update the `example/apisix_conf/config.yaml` to ``` plugins: - log-rotate plugin_attr: prometheus: export_addr: ip: "0.0.0.0" port: 9091 log-rotate: interval: 1 # rotate interval (unit: second) max_kept: 10 # max number of log files will be kept max_size: -1 # max size of log files will be kept enable_compression: true ``` Hi team. I want to keep only the X most recent tar.gz files while enable_compression: true, but the current configuration cannot take effect. Is this a bug or is it intentional? If it is intentional, any suggestions that I can make it? Thanks in advance. ### Environment - APISIX version (run `apisix version`): - Operating system (run `uname -a`): - OpenResty / Nginx version (run `openresty -V` or `nginx -V`): - etcd version, if relevant (run `curl http://127.0.0.1:9090/v1/server_info`): - APISIX Dashboard version, if relevant: - Plugin runner version, for issues related to plugin runners: - LuaRocks version, for installation issues (run `luarocks --version`): -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
