I have a (docker) job in Nomad that is configured with a “sidecar_service {}”. My problem is that its logs are not available through Nomad. stdout and stderr are both simply empty. If I track down the docker container running Envoy, I can watch the logs with “docker logs”, but nothing in Nomad.
If I read the job definition back from Nomad, I can see the “connect-proxy-<my task>
” has this LogConfig
config:
"LogConfig": {
"MaxFiles": 10,
"MaxFileSizeMB": 10,
"Enabled": false
},
…so I suppose it’s not surprising, but what gives? Have I misconfigured something or is this a bug somewhere?