Skip to content

feat(logs): improve jack logs for managed projects #2

@hellno

Description

@hellno

Problem

jack logs wraps wrangler tail - only works for BYOC. Managed projects use dispatch namespaces where Cloudflare Tail API doesn't work.

Current state:

  • ✅ Workers Logs auto-enabled on all managed deployments
  • ✅ Logs stored in jack's Cloudflare account
  • ❌ Users cannot access jack's CF dashboard to view logs

What's needed

Build a way for users to access their logs. Options:

Option Effort UX
Web UI at cloud.getjack.org/logs Medium Best - visual, filterable
API endpoint GET /projects/:id/logs Medium Enables CLI integration
CLI proxy jack logs calls our API Low (after API) Familiar workflow

Recommended approach

  1. Add GET /v1/projects/:projectId/logs endpoint that queries Cloudflare GraphQL
  2. Update jack logs to call this endpoint for managed projects
  3. Later: build web UI for richer experience

Current workaround

CLI shows message pointing to this issue. Logs are being collected but not yet accessible.

Tasks

  • Add logs query endpoint to control plane
  • Update jack logs to use endpoint for managed projects
  • (Future) Web UI for logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions