Skip to main content
Version: 7.2402.x.x RR

Logging the country code

The client's country code is stored within the QS_Country environment variable which might be used within your Apache's log format string, see the chapter Using the Apache CustomLog; or it might be written to the NProxyOp messages using a DelegationFilter.

<filter>
<filter-name>LogCountryCode</filter-name>
<filter-class>
ch::nevis::isiweb4::filter::delegation::DelegationFilter
</filter-class>
<init-param>
<param-name>DelegateToProxyLog</param-name>
<param-value>ENV:QS_Country:country</param-value>
</init-param>
</filter>