docker-twemproxy
docker-twemproxy copied to clipboard
Customizing twemproxy verbosity level?
We can customize params passed to twemproxy when it starts on raw metal like so:
/lib/systemd/system/twemproxy.service:
...
ExecStart=/usr/sbin/nutcracker -v 4 --pid-file /var/run/twemproxy/twemproxy.pid -c /etc/twemproxy/twemproxy.yml -o /var/log/twemproxy.log
...
This uses verbosity of 4 and prevents mass spamming of every value being accessed in twemproxy's logs.
How do we do this in the docker environment though? Can you please modify the readme with the relevant instructions?
Thank you.
I fixed this in our case by adding the following line to our docker-compose.yml:
command: ["nutcracker", "-v", "4", "-c", "/etc/nutcracker.conf"]