mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 17:30:00 +00:00
Make output of td-agent quieter
This commit is contained in:
parent
6aabd9804f
commit
1b06afd02a
@ -26,4 +26,4 @@ OUTER_HOST=`tail -n 1 /outerhost | awk '{print $3}'`
|
|||||||
# service IPs are done.
|
# service IPs are done.
|
||||||
# Adjust the name of the host machine for %ES_HOST%. HACK!
|
# Adjust the name of the host machine for %ES_HOST%. HACK!
|
||||||
sed -i -e "s/\%ES_HOST\%/${OUTER_HOST}/" /etc/td-agent/td-agent.conf
|
sed -i -e "s/\%ES_HOST\%/${OUTER_HOST}/" /etc/td-agent/td-agent.conf
|
||||||
/usr/sbin/td-agent "$@"
|
/usr/sbin/td-agent -qq "$@"
|
||||||
|
@ -31,4 +31,4 @@ RUN sed -i~ -e 's/ --use-v1-config//' /etc/init.d/google-fluentd
|
|||||||
COPY google-fluentd.conf /etc/google-fluentd/google-fluentd.conf
|
COPY google-fluentd.conf /etc/google-fluentd/google-fluentd.conf
|
||||||
|
|
||||||
# Start Fluentd to pick up our config that watches Docker container logs.
|
# Start Fluentd to pick up our config that watches Docker container logs.
|
||||||
CMD /usr/sbin/google-fluentd > /var/log/google-fluentd.log
|
CMD /usr/sbin/google-fluentd -qq > /var/log/google-fluentd.log
|
||||||
|
Loading…
Reference in New Issue
Block a user