Add the following code to your project's shard.yml under:
to use in production
- OR -
development_dependencies to use in development
Forwards logs from kubernetes to a (udp or tcp+tls) syslog server.
It uses the Kubernetes pod log API to stream the logs from each container in each pod. A ServiceAccount with pod read access is required, but can also use
kubectl proxy eg. for local development. See deployment.yml for an example.
An environment variable named
SYSLOG_ADDRESS is required, with the format