<!-- claude-slack-attribution -->
_Requested by **Kalleby Santos** · [Slack
thread](https://supabase.slack.com/archives/C0BB4MAJW58/p1794485219774189?thread_ts=1794485219.774189&cid=C0BB4MAJW58)_
## Problem
**Before:** The Edge Functions logging page said the **Invocations**
view includes request and response "headers, body, status codes, and
execution duration". Customers asked where to find body values, but
bodies are not retained, and only some headers are kept. The page also
described separate **Invocations** and **Logs** views with an outdated
screenshot.
**After:** The page says plainly that request and response bodies are
not logged or retained, and that only a subset of headers is kept (with
the list from the `function_edge_logs` schema). It now describes the
current viewer: Edge Functions > a function > **Logs** tab, with one
list of invocations and console logs/events, the filter bar (time range,
log type, level, event message), **Live**, and the detail panel
(**Overview**, **Raw JSON**, **Timeline**, **User**). Existing content
(console methods, event types, limits, header logging tip) is unchanged.
## Solution
Updates `apps/docs/content/guides/functions/logging.mdx` to remove the
incorrect body claim and document the new logs viewer.
**How:** UI names and behavior were checked against the Studio source
(`apps/studio/components/interfaces/UnifiedLogs`, `Functions`, and the
`functions/[functionSlug]/logs` page). The header list comes from the
`function_edge_logs` schema in `packages/shared-data/log-constants.ts`.
**Skipped:** No new screenshots, since I had no demo project with a
deployed function to capture them from. I removed the outdated
`function-logs.png` from this page because the text no longer matches
it. The same image is still used in `error-handling.mdx` (Error
monitoring section) and is still outdated there. I left the file and
that page alone.
**Unverified / for review:**
- The request and response header lists are taken from the
`function_edge_logs` schema in the repo. Please confirm they match what
is actually retained on the logflare source.
- The retention statement for bodies comes from the request, not from a
code path in this repo.
- The new viewer is the "Updated Logs interface" feature preview, which
is on by default on the platform. I added a short note for users who
turned it off (legacy **Invocations** and **Logs** tabs). I did not
verify the legacy view in detail.
- The **Timeline** tab and **Attributes** sections only render when the
related logs backend and metadata features are enabled, so some users
may not see them.
## Review instructions
1. Open the preview of `/docs/guides/functions/logging`.
2. Check that no sentence claims invocation logs include a request or
response body.
3. Compare the "Explore logs in the Dashboard" section against a
function's **Logs** tab in the Dashboard.
4. Confirm the header lists under "What invocation logs contain" are
correct.
## Checklist
- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [ ] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs
[style
guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide).
(Not run; I followed the style guide manually. Prettier check passed
with equivalent standalone options.)
---
_Generated by [Claude
Code](https://claude.ai/code/session_01M8V2QRDBurL1TZmpGGgjDK)_
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Kalleby Santos <105971119+kallebysantos@users.noreply.github.com>
* fix: rewrite relative URLs when syncing to GitHub discussion
Relative URLs back to supabse.com won't work in GitHub discussions, so
rewrite them back to absolute URLs starting with https://supabase.com
* fix: replace all supabase urls with relative urls
* chore: add linting for relative urls
* chore: bump linter version
* Prettier
---------
Co-authored-by: Chris Chinchilla <chris.ward@supabase.io>