Add tracking IDs to your web application

With a complex multi-tier stack with HTTP requests getting proxied it can be difficult to track a request as it goes around the system. One thing you can do is enable mod_unique_id in apache – this creates a distinct environment variable UNIQUE_ID in the web server context for each incoming request. Simply loading the module …

Continue reading ‘Add tracking IDs to your web application’ »

Create a separate Apache log for netscaler heartbeat

If you are running your Apache instances through Netscalers and want to avoid cluttering your logs with Netscaler heartbeat calls, try the below: # Dont log netscaler heartbeats and log ns requests from the CLIENT-IP header and not %a (via combinedtimens) LogFormat “%a %l %u %t \”%r\” %>s %b \”%{Referer}i\” \”%{User-Agent}i\” %D” combinedtime LogFormat “%{CLIENT-IP}i …

Continue reading ‘Create a separate Apache log for netscaler heartbeat’ »