Nginx allows to override the default access_logs format via the log_format directive. We are using this feature to get Nginx logs in a JSON format.
However, as noted in kong.log docs, plugin logs are reported to the Nginx error_log directive. AFAIK, there is no option to set error_log format.
Is there any workaround we can use to get plugins output in a JSON format?