kayx23 commented on issue #10474: URL: https://github.com/apache/apisix/issues/10474#issuecomment-1806687204
APISIX loggers [send logs in batches](https://apisix.apache.org/docs/apisix/batch-processor). The name here is the ID of the batch processor for the plugin, which conveniently inherits the plugin's name. However I noticed the value is hardcoded in, which means what you configure actually doesn't matter. I opened a PR to removed the `name` from attributes for `kafka-logger` here: https://github.com/apache/apisix/pull/10476 If I'm not wrong on this, we should remove name attribute from the doc for all loggers that hard code the value in. For sys log specifically, the value is hard coded here: https://github.com/apache/apisix/blob/e1503dcb2b6220303c6023d7f0fe5e591efecd8f/apisix/plugins/syslog/init.lua#L26 You won't see this value in the actual logs. -- 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]
