Forum Discussion
AKAMAI True-Client-IP
in my Apache config, I have this:
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined LogFormat "%h %l %u %t \"%r\" %>s %b" common LogFormat "%{Referer}i -> %U" referer LogFormat "%{User-agent}i" agent
Do I append to it, or remove it with this?
LogFormat "%v %{True-Connect-IP}i (via akamai:%h) %l %u %t \"%r\" %>s %b" akamai CustomLog "|rotatelog.. etc" akamai
what else do I need to modify? The actual Virtual Host Directives for each domain that is hosted in that httpd.conf file , or is having it outside of the Virtual Host going to act as global settings for how the logs are handled/written/recorded... ?
Thanks.
- Kevin_Davies_40Aug 31, 2013
Nacreous
I think you will find this link will show you of an example of someone updating logs to to this [http://goo.gl/t9CxPg](http://goo.gl/t9CxPg) - Kevin_Davies_40Aug 31, 2013
Nacreous
The correct link is http://goo.gl/t9CxPg - ChadBigIP_14663Aug 31, 2013
Nimbostratus
would that be the more efficient and optimized way of doing it? rather than putting the load on the F5 LTM-3400? or does it not really matter, it is just preference? - Kevin_Davies_40Aug 31, 2013
Nacreous
I use the KISS principle. Some things are better and easier to do in the infrastructure surrounding the F5 rather than the device itself. Unless there is a good reason to do it on the F5, the Apache log option is far simpler and cleaner. From a management and maintenance point of view as well. - ChadBigIP_14663Aug 31, 2013
Nimbostratus
my only issue is I have over 50 domains... across 10 servers... so that is over 600 lines of code to re-write.... I am a believer in the KISS method too, but do you know if there can be a GLOBAL setting for the logging in Apache that ALL Virtual Hosts will use, so I do not have to modify each individual Virtual Host?
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com