Skip to content

Commit b25592e

Browse files
authored
Update index.mdx (#20527)
* Update index.mdx updates to 1) tell users where to turn auto log cleanup on (gateway settings) 2) update that they can set the log storage limit vs always using default of 10M * Update index.mdx changed name from auto log cleanup to better match what's said in the UI
1 parent 7035c76 commit b25592e

File tree

1 file changed

+2
-4
lines changed
  • src/content/docs/ai-gateway/observability/logging

1 file changed

+2
-4
lines changed

src/content/docs/ai-gateway/observability/logging/index.mdx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,9 @@ curl https://gateway.ai.cloudflare.com/v1/{account_id}/{gateway_id}/openai/chat/
5353
5454
## How to delete logs
5555
56-
### Auto Log Cleanup
56+
### Automatic Log Deletion
5757
58-
Enable Auto Log Cleanup to automatically delete the oldest logs once the default storage limit of 10 million logs is reached, ensuring that new logs are always saved without needing manual deletion. Logs are deleted in chunks of 0.1% of the storage limit, which equates to 10,000 logs at a time.
59-
60-
This setting is useful for maintaining continuous logging while staying within the default storage constraints.
58+
​To maintain continuous logging within your gateway's storage constraints, enable Automatic Log Deletion in your Gateway settings. This feature automatically deletes the oldest logs once the log limit you've set or the default storage limit of 10 million logs is reached, ensuring new logs are saved without manual intervention. Logs are deleted in increments of 0.1% of the storage limit, equating to 10,000 logs per deletion when using the default limit.​
6159
6260
### Manual deletion
6361

0 commit comments

Comments
 (0)