I'm trying to exclude my IP from the Apache logs using Main >> Service Configuration >> Apache Configuration.
I added: SetEnvIf Remote_Addr "123.456.789.123" dontlog to the Pre VirtualHost Include.
Then added CustomLog /usr/local/apache/domlogs/mydomain.com common env=!dontlog to the /usr/local/apache/conf/userdata/std/2/username/hostname/custom.conf, restarted Apache but the domlogs are still logging my IP address.
Could someone please describe the correct process for excluding an IP address from the Apache logs with EA3?
Thanks
I added: SetEnvIf Remote_Addr "123.456.789.123" dontlog to the Pre VirtualHost Include.
Then added CustomLog /usr/local/apache/domlogs/mydomain.com common env=!dontlog to the /usr/local/apache/conf/userdata/std/2/username/hostname/custom.conf, restarted Apache but the domlogs are still logging my IP address.
Could someone please describe the correct process for excluding an IP address from the Apache logs with EA3?
Thanks