I’m trying to setup Consul connect with envoy as sidecar proxy. I tried the counting and dashboard example. Everything is working fine except I cannot see Envoy access logs anywhere. We cannot rely on Prometheus or statsd since those are metrics and we sometimes need to look at specific responses in the logs. Not sure if my understanding is right. I’ve tried everything I could search online including:
- Adding this to bootstrap json:
“access_log”: [
{
“name”: “envoy.file_access_log”,
“config”: {
“path”: “/dev/stdout”
}
}
] - Passing log path in the consul envoy command, something like
consul connect envoy -sidecar-for dashboard – -l debug --log-path
But there are no access logs to be found anywhere.
I tried similar thing with standard envoy yaml without using Consul and i can see access logs.
What am i doing wrong?
Thanks for the help!