Skip to content

Provide consistent structured logs across adapters #119

Open

Description

@aram356

Description

Emit structured, level-configurable logs consistently on Fastly, Cloudflare, Spin and Axum.

Manifest logging levels/endpoints exist and Fastly/Axum initialize platform loggers. RequestLogger emits formatted tracing messages, while Cloudflare and Spin logger initialization returns success without installing a logger. This is partial logging support, not the requested cross-adapter structured output contract.

Steps to reproduce

  1. Inspect manifest logging fields and each adapter initializer.
  2. Compare the request logger events with a documented common field schema and output format.

Expected behavior

The same request facts and selected log level are observable through each adapter's supported output channel.

Impact

Telemetry format and visibility differ by runtime, making operations and log processing harder.

Proposed fix

Define shared structured fields and level behavior, bridge the existing log/tracing surfaces, and implement/document provider-specific sinks with application-owned redaction.

Done when

  • A documented common event schema covers normal and failed requests.
  • Configured levels suppress/emit the same logical events on each adapter.
  • Cloudflare/Spin have an actual output path or an explicit supported integration.
  • Runtime tests/examples demonstrate structured output without exposing secrets.

Related

Activity

  1. changed the title [-]As a developer I want structured logging across all adapters[/-] [+]Provide consistent structured logs across adapters[/+] on Nov 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions