Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: modules/adblockplus/templates/log/fluentd/default.conf.erb

Issue 29339248: Issue 3305 - Introduce adblockplus::log::tracker and ::forwarder (Closed)
Patch Set: Issue 3305 - Fix typos in documentation Created April 7, 2016, 7:29 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: modules/adblockplus/templates/log/fluentd/default.conf.erb
diff --git a/modules/adblockplus/templates/log/fluentd/default.conf.erb b/modules/adblockplus/templates/log/fluentd/default.conf.erb
new file mode 100644
index 0000000000000000000000000000000000000000..a4fcc63cce131235a986ae2cd4c30674800e68b3
--- /dev/null
+++ b/modules/adblockplus/templates/log/fluentd/default.conf.erb
@@ -0,0 +1,23 @@
+# http://docs.fluentd.org/articles/config-file#error-label
+<label @ERROR>
+ <match **>
+ @type file
+ append true
+ compress gzip
+ flush_at_shutdown
+ path /var/log/<%= @agent %>/error
+ time_slice_format %Y%m%d
+ utc
+ </match>
+</label>
+
+# http://docs.fluentd.org/articles/config-file#match-order
+<match **>
+ @type file
+ append true
+ compress gzip
+ flush_at_shutdown
+ path /var/log/<%= @agent %>/unmatched
+ time_slice_format %Y%m%d
+ utc
+</match>
« no previous file with comments | « modules/adblockplus/manifests/log/tracker.pp ('k') | modules/adblockplus/templates/log/fluentd/forwarder.conf.erb » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld