> [!CAUTION]
> You are currently viewing version 1.8 of the Apigee hybrid documentation. **This version is end of life.** You should upgrade to a newer version. For more information, see [Supported versions](https://docs.cloud.google.com/apigee/docs/hybrid/supported-platforms.md.txt#supported-versions).

<button class="button button-with-icon cloud-select-dropdown__button button-primary" aria-haspopup="true">Version 1.9 (unsupported)</button>

- Supported versions:
- [v1.17 (latest)](https://docs.cloud.google.com/apigee/docs/hybrid/v1.17/logging-with-http-proxy-forwarding-enabled.md.txt)
- [v1.16](https://docs.cloud.google.com/apigee/docs/hybrid/v1.16/logging-with-http-proxy-forwarding-enabled.md.txt)
- [v1.15](https://docs.cloud.google.com/apigee/docs/hybrid/v1.15/logging-with-http-proxy-forwarding-enabled.md.txt)
- [v1.14](https://docs.cloud.google.com/apigee/docs/hybrid/v1.14/logging-with-http-proxy-forwarding-enabled.md.txt)
- [List of supported versions](https://docs.cloud.google.com/apigee/docs/hybrid/supported-platforms.md.txt#supported-versions)
- Unsupported versions:
- [v1.13](https://docs.cloud.google.com/apigee/docs/hybrid/v1.13/logging-with-http-proxy-forwarding-enabled.md.txt)
- [v1.12](https://docs.cloud.google.com/apigee/docs/hybrid/v1.12/logging-with-http-proxy-forwarding-enabled.md.txt)
- [v1.11](https://docs.cloud.google.com/apigee/docs/hybrid/v1.11/logging-with-http-proxy-forwarding-enabled.md.txt)
- [v1.10](https://docs.cloud.google.com/apigee/docs/hybrid/v1.10/logging-with-http-proxy-forwarding-enabled.md.txt)
- [v1.9](https://docs.cloud.google.com/apigee/docs/hybrid/v1.9/logging-with-http-proxy-forwarding-enabled.md.txt)
- [v1.8](https://docs.cloud.google.com/apigee/docs/hybrid/v1.8/logging-with-http-proxy-forwarding-enabled.md.txt)
- [v1.7](https://docs.cloud.google.com/apigee/docs/hybrid/v1.7/logging-with-http-proxy-forwarding-enabled.html)
- [v1.6](https://docs.cloud.google.com/apigee/docs/hybrid/v1.6/logging-with-http-proxy-forwarding-enabled.html)
- [v1.5](https://docs.cloud.google.com/apigee/docs/hybrid/v1.5/logging-with-http-proxy-forwarding-enabled.html)
- [v1.4](https://docs.cloud.google.com/apigee/docs/hybrid/v1.4/logging-with-http-proxy-forwarding-enabled.html)
- [v1.3](https://docs.cloud.google.com/apigee/docs/hybrid/v1.3/logging-with-http-proxy-forwarding-enabled.html)
- [v1.2](https://docs.cloud.google.com/apigee/docs/hybrid/v1.2/logging-with-http-proxy-forwarding-enabled.html)
- [v1.1](https://docs.cloud.google.com/apigee/docs/hybrid/v1.1/logging-with-http-proxy-forwarding-enabled.html)

## Logging when HTTP proxy forwarding is enabled


When you enable HTTP proxy forwarding, you create a single point through which multiple machines
send requests to an external server. For logging, you may not want to have all traffic forwarded
through the proxy.


This procedure explains how to disable HTTP proxy forwarding for specific hosts in your
overrides file.

### Procedure

1. Disable proxy forwarding for logging for specific hosts by setting the `logger.EnvVars` property in `overrides.yaml`:

   ```
   logger:
   ...
     EnvVars:
       NO_PROXY: '<comma-separated-values>'
   ```

   for example:

   ```
     EnvVars:
       NO_PROXY: 'kubernetes.default.svc,oauth2.googleapis.com,logging.googleapis.com'
   ```


   The `logger.EnvVars` property allows you to pass in environment variables
   supported by Fluent Bit. See
   [NO_PROXY](https://docs.fluentbit.io/manual/administration/http-proxy#no_proxy)
   in the Fluent Bit documentation.
2. Apply the changes to logger with `apigeectl apply` with the `--telemetry` scope:

   ```
   apigeectl apply --telemetry -f overrides.yaml
   ```

### See also

- [`logger.EnvVars`](https://docs.cloud.google.com/apigee/docs/hybrid/v1.8/config-prop-ref.md.txt#logger-envvars) in the Configuration properties reference.
- [Configure forward proxying for API proxies](https://docs.cloud.google.com/apigee/docs/hybrid/v1.8/forward-proxy.md.txt).