caddyserver / ingress

WIP Caddy 2 ingress controller for Kubernetes
Apache License 2.0
637 stars 70 forks source link

HTTP request logging (also known as access logs) #175

Open angelocapone opened 10 months ago

angelocapone commented 10 months ago

Is it possible to enable/configure HTTP request logging (also known as access logs)? I’m unable to find documentation how to include the log directive for the caddy-ingress controller.

Thanks

Embraser01 commented 10 months ago

For now, to get HTTP requests logs, you can set the debug property to true in the global configmap

https://github.com/caddyserver/ingress/blob/master/charts/caddy-ingress-controller/values.yaml#L32