---
url: >-
  https://canary.warp-drive.io/api/@warp-drive/core/build-config/debugging/variables/LOG_CACHE_POLICY.md
description: >-
  Debug logging flag that logs the decisions the default CachePolicy makes about
  whether cached requests are expired or stale.
---

# &#x20;LOG\_CACHE\_POLICY

```ts
const LOG_CACHE_POLICY: boolean;
```

Defined in: [warp-drive-packages/build-config/src/debugging.ts:73](https://github.com/warp-drive-data/warp-drive/blob/48dc0d277b98008082669dadc6a52e5c5682ef8e/warp-drive-packages/build-config/src/debugging.ts#L73)

Log decisions made by the Basic CachePolicy
