andreufontb opened a new issue, #11839: URL: https://github.com/apache/apisix/issues/11839
### Description ### Summary APISIX provides the ability to output logs from its internal Nginx component in JSON format with a customizable schema, which is incredibly useful for integration with log collection and analysis tools. However, logs generated by the Lua component do not currently support JSON formatting or schema customization. This inconsistency complicates centralized log collection and parsing, as it requires maintaining separate parsers for Lua logs, adding complexity and operational overhead. ### Proposal - Extend support for JSON-formatted logs to the Lua component. - Allow customization of the JSON schema for Lua logs, similar to the functionality provided by the Nginx component. ### Benefits **Unified Logging**: Consistent JSON formatting across all components (Nginx and Lua) would simplify log collection and analysis with systems like Elasticsearch, Loki, or Fluentd. -- 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]
