Skip to content

Commit 661faab

Browse files
committed
Apache: also log local traffic
Excluding local traffic does not significantly reduce log size on production environments, considering that it's mostly monitoring requests. From a troubleshooting perspective, it's good to also have logging for local traffic.
1 parent a466fa7 commit 661faab

7 files changed

Lines changed: 0 additions & 7 deletions

File tree

‎docker/images/davrods/davrods-anonymous-vhost.conf‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,6 @@
219219
SSLCompression off
220220

221221
# Logging of access to webdav
222-
SetEnvIf Remote_Addr "127\.0\.0\.1" dontlog
223222
SetEnvIf Request_URI "^/favicon\.ico$" dontlog
224223
SetEnvIf Request_Method "^OPTIONS$" dontlog
225224
CustomLog /var/log/apache2/webdav_anon_access.log common env=!dontlog

‎docker/images/davrods/davrods-vhost.conf‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,6 @@
220220
SSLCompression off
221221

222222
# Logging of access to webdav
223-
SetEnvIf Remote_Addr "127\.0\.0\.1" dontlog
224223
SetEnvIf Request_URI "^/favicon\.ico$" dontlog
225224
SetEnvIf Request_Method "^OPTIONS$" dontlog
226225
CustomLog /var/log/apache2/webdav_access.log common env=!dontlog

‎docker/images/yoda_portal/yoda-portal-vhost.conf‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@
5050
SSLCompression off
5151

5252
# Logging of access to portal
53-
SetEnvIf Remote_Addr "127\.0\.0\.1" dontlog
5453
SetEnvIf Request_URI "favicon\.ico$" dontlog
5554
SetEnvIf Request_URI "\.woff$" dontlog
5655
SetEnvIf Request_URI "\.woff2$" dontlog

‎roles/yoda_davrods/templates/davrods-anonymous-anubis-vhost.conf.j2‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,6 @@ Listen {{ yoda_davrods_anonymous_port }}
298298
SSLCompression off
299299

300300
# Logging of access to webdav
301-
SetEnvIf Remote_Addr "127\.0\.0\.1" dontlog
302301
SetEnvIf Request_URI "^/favicon\.ico$" dontlog
303302
SetEnvIf Request_Method "^OPTIONS$" dontlog
304303
CustomLog {{ yoda_davrods_apache_log_dir }}/webdav_anon_access.log common env=!dontlog

‎roles/yoda_davrods/templates/davrods-anonymous-vhost.conf.j2‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,6 @@ Listen {{ yoda_davrods_anonymous_port }}
225225
SSLCompression off
226226

227227
# Logging of access to webdav
228-
SetEnvIf Remote_Addr "127\.0\.0\.1" dontlog
229228
SetEnvIf Request_URI "^/favicon\.ico$" dontlog
230229
SetEnvIf Request_Method "^OPTIONS$" dontlog
231230
CustomLog {{ yoda_davrods_apache_log_dir }}/webdav_anon_access.log common env=!dontlog

‎roles/yoda_davrods/templates/davrods-vhost.conf.j2‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,6 @@ Listen {{ yoda_davrods_port }}
236236
SSLCompression off
237237

238238
# Logging of access to webdav
239-
SetEnvIf Remote_Addr "127\.0\.0\.1" dontlog
240239
SetEnvIf Request_URI "^/favicon\.ico$" dontlog
241240
SetEnvIf Request_Method "^OPTIONS$" dontlog
242241
CustomLog {{ yoda_davrods_apache_log_dir }}/webdav_access.log common env=!dontlog

‎roles/yoda_portal/templates/yoda-portal-vhost.conf.j2‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@
6060
SSLCompression off
6161

6262
# Logging of access to portal
63-
SetEnvIf Remote_Addr "127\.0\.0\.1" dontlog
6463
SetEnvIf Request_URI "favicon\.ico$" dontlog
6564
SetEnvIf Request_URI "\.woff$" dontlog
6665
SetEnvIf Request_URI "\.woff2$" dontlog

0 commit comments

Comments
 (0)