How to output the logs of the gateway to a file

I want to output the logs of the istio-ingressgateway to a file, but I didn’t find a good way to do this,I tried to use the --log-path provided by envoy, but it seems that isio does not support, does anyone give me some advice? Very thanks!