Trying to prevent local local IP from appearing in log files.
I have in  modules.d/00_mod_log_config.conf

DeflateFilterNote Input instream
DeflateFilterNote Output outstream
DeflateFilterNote Ratio ratio
LogFormat '"%h %l %u %t \"%r\" %{outstream}n/%{instream}n (%{ratio}n%%)' deflate
SetEnvIf Remote_Addr "127\.0\.0\.1" dontlog
SetEnvIf Remote_Addr "10\.0\.0\.109" dontlog
CustomLog /var/log/apache2/access_log common env=!dontlog

This setting worked in Apache 2.2 but Apache 2.4 is still logging all my 
localhost IP's.


Reply via email to