Skip to content

Documentation: logs of a single request - #2190

Merged
mnapoli merged 1 commit into
masterfrom
docs-logs-of-a-request
Sep 26, 2026
Merged

mnapoli merged 1 commit into
masterfrom
docs-logs-of-a-request

Conversation

@mnapoli

@mnapoli mnapoli commented Sep 26, 2026

Copy link
Copy Markdown
Member

A new "Logs of a single request" section in environment/logs.mdx:

  • Bref's Monolog formatter starts every log line with the request ID of the invocation
  • in Bref Cloud: click the request ID of a log line to see all the logs of the request, and the X-Ray trace of a request shows its logs (screenshot)
  • from the terminal: bref logs --search=<id> --all, the first 8 characters of the ID are enough
  • in CloudWatch Logs Insights: filter @requestId = '<id>'
  • with another formatter: a Monolog processor reading $_SERVER['LAMBDA_REQUEST_ID']

Split from #2189 (PHP-FPM receives LAMBDA_REQUEST_ID).

To merge once these are out, since the page describes them:

@mnapoli
mnapoli merged commit 5b077f2 into master Sep 26, 2026
8 checks passed
@mnapoli
mnapoli deleted the docs-logs-of-a-request branch September 26, 2026 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant