web_log plugin: apache_cache plugin configuration moved to the web_log.conf; python.d.conf update
Ilya committed
May 30, 2017 at 15:29 UTC
a68d4a9e08999a0a4f2cbd0f3c7ae6345de569fc
2 files changed
+19
-1
conf.d/python.d.conf
+2
-1
@@ -26,7 +26,8 @@ log_interval: 3600
26
# If "default_run" = "no" the default for all modules is disabled (no).
27
# Setting any of these to "yes" will enable it.
28
29
-# apache_cache: yes
29
+# apache_cache has been replaced by web_log
30
+apache_cache: no
31
# apache: yes
32
# bind_rndc: yes
33
# cpufreq: yes
conf.d/python.d/web_log.conf
+17
@@ -149,3 +149,20 @@ gunicorn_log:
149
gunicorn_log2:
150
name: 'gunicorn'
151
path: '/var/log/gunicorn/gunicorn-access.log'
152
+
153
+#----------------------------------------------
154
+# Apache Cache
155
+apache_cache:
156
+ name: 'apache_cache'
157
+ type: 'apache_cache'
158
+ path: '/var/log/apache/cache.log'
159
+
160
+apache2_cache:
161
+ name: 'apache_cache'
162
+ type: 'apache_cache'
163
+ path: '/var/log/apache2/cache.log'
164
+
165
+httpd_cache:
166
+ name: 'apache_cache'
167
+ type: 'apache_cache'
168
+ path: '/var/log/httpd/cache.log'