Skip to content

Commit

Permalink
Don't let fluentd pipe its own logs directly back into itself.
Browse files Browse the repository at this point in the history
  • Loading branch information
a-robinson committed Jan 27, 2016
1 parent 95a4ea3 commit ac13e85
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,11 @@
# problem yet to be solved as secrets are not usable in static pods which the fluentd
# pod must be until a per-node controller is available in Kubernetes.

# Do not directly collect fluentd's own logs to avoid infinite loops.
<match fluent.**>
type null
</match>

<source>
type tail
path /var/log/containers/*.log
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@
# the name of the Kubernetes container regardless of how many times the
# Kubernetes pod has been restarted (resulting in a several Docker container IDs).

# Do not directly collect fluentd's own logs to avoid infinite loops.
<match fluent.**>
type null
</match>

<source>
type tail
format json
Expand Down

0 comments on commit ac13e85

Please sign in to comment.