fdb-kubernetes-operator icon indicating copy to clipboard operation
fdb-kubernetes-operator copied to clipboard

Setting the log dir and log group through environment variables in our pods

Open brownleej opened this issue 5 years ago • 1 comments

We set the log dir and log group through parameters to the fdbserver process. This allows us to send logs to an emptyDir volume that users can attach additional containers to for log forwarding. If someone execs into a pod and runs an fdbcli command, it doesn't generate any trace logs at all. I think it would be better for us to set the log dir and log group through environment variables. This would allow fdbcli commands from the server pods to get logged to the same directory, and get picked up by log management with no additional action on the user's part.

brownleej avatar Jun 09 '20 22:06 brownleej