# Apply debug envoyfilter, which will print out all request/response headers/body, no matter it is http or grpc.
kubectl apply -f ./envoyfilter-show_RequestsResponse.yaml
# After you create ext-authz pod in sample, you can open another window to view log:
# Show debug log for ext-authz
kubectl exec -ti -n foo "$(kubectl get pod -l app=ext-authz -n foo -o jsonpath={.items..metadata.name})" -c istio-proxy -- curl -XPOST localhost:15000/logging?lua=debug
kubectl logs -n foo "$(kubectl get pod -l app=ext-authz -n foo -o jsonpath={.items..metadata.name})" -c istio-proxy -f