Nginx-Ingress error log?

Hi, we use Nginx-Ingress (https://github.com/kubernetes/ingress-nginx) for production environment.

The access_log is formatted well as described in doc https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/log-format/. However, we could not find a way to format error_log.

Is there a way to format error_log to k8s log?

Thank you.