---
title: HTTP Proxy Logging Headers
slug: kronpam-reference-guide-3-9-0/http-proxy-logging-headers
docTags: 
createdAt: 2024-11-29T12:38:29.596Z
---

This feature is utilized to log the requests and responses from websites visited by users.

To use the HTTP Proxy Logging Headers feature on individual webpages defined as devices in Kron PAM:

The paramete&#x72;**&#x20;http.proxy.logging.headers.enabled** in the **/pam/http/conf/http\_proxy.properties** file must be set to **true**.

A new parameter, **httpRequestandResponseHeaderLogged**, will be introduced to the **Device Group Custom Properties**. When this parameter is set to true for the relevant device group, Kron PAM will log the Request and Response Header information.

::Image[]{src="https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/7CNHzzdC5dWeNgQAJTKUj_image.png" size="60" width="385" height="143" position="center" caption=" Device Group Definition" darkWidth="385" darkHeight="143" showCaption="true"}

::Image[]{src="https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/emrngZL5H0OpojfJDe1Dd_image.png" size="78" width="430" height="405" position="center" caption=" Device Group Definition" darkWidth="430" darkHeight="405" showCaption="true"}

Users can access the logged Request and Response Header information for HTTP requests via the **HTTP Proxy Logs&#x20;**&#x73;creen. Upon clicking the **Show Headers** button for a log entry, header details for the selected request will be displayed.

::Image[]{src="https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/ntgltf6hv5pA5-WQSe46V_image.png" size="50" width="513" height="544" position="center" caption="HTTP Proxy Show Header Log Screen" darkWidth="513" darkHeight="544" showCaption="true"}

After setting th&#x65;**&#x20;http.proxy.logging.headers.enabled** parameter to **true&#x20;**&#x69;n the **/pam/http/conf/http\_proxy.properties** file, the **httpRequestandResponseHeaderLogged&#x20;**&#x70;arameter must also be defined for the relevant device group. Request and Response logging will only occur if both parameters are configured correctly.

If the **http.proxy.logging.headers.enabled** parameter in th&#x65;**&#x20;/pam/http/conf/http\_proxy.properties** file is set to true and the **http.proxy.passthrough&#x20;**&#x70;arameter is also set to true, the Request and Response values will be logged unconditionally, regardless of the device group parameter settings.

:::hint{type="info"}
After these configurations, the HTTP Proxy will start creating a log for every visited webpage. Log files can grow over time, filling up the system's disk capacity and causing a decline in system performance. Therefore, it is recommended that administrators use their discretion to decide on which device groups header logging should be activated, and on which it should remain inactive.
:::

