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> |