Skip to content

Turn on tail logs by default#11346

Merged
penalosa merged 4 commits intomainfrom
penalosa/tail-logs-default
Nov 27, 2025
Merged

Turn on tail logs by default#11346
penalosa merged 4 commits intomainfrom
penalosa/tail-logs-default

Conversation

@penalosa
Copy link
Contributor

@penalosa penalosa commented Nov 19, 2025

Fixes https://jira.cfdata.org/browse/DEVX-2231


@penalosa penalosa requested review from a team as code owners November 19, 2025 17:59
@changeset-bot
Copy link

changeset-bot bot commented Nov 19, 2025

🦋 Changeset detected

Latest commit: 65f23ce

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@pkg-pr-new
Copy link

pkg-pr-new bot commented Nov 21, 2025

create-cloudflare

npm i https://pkg.pr.new/create-cloudflare@11346

@cloudflare/kv-asset-handler

npm i https://pkg.pr.new/@cloudflare/kv-asset-handler@11346

miniflare

npm i https://pkg.pr.new/miniflare@11346

@cloudflare/pages-shared

npm i https://pkg.pr.new/@cloudflare/pages-shared@11346

@cloudflare/unenv-preset

npm i https://pkg.pr.new/@cloudflare/unenv-preset@11346

@cloudflare/vite-plugin

npm i https://pkg.pr.new/@cloudflare/vite-plugin@11346

@cloudflare/vitest-pool-workers

npm i https://pkg.pr.new/@cloudflare/vitest-pool-workers@11346

@cloudflare/workers-editor-shared

npm i https://pkg.pr.new/@cloudflare/workers-editor-shared@11346

@cloudflare/workers-utils

npm i https://pkg.pr.new/@cloudflare/workers-utils@11346

wrangler

npm i https://pkg.pr.new/wrangler@11346

commit: 65f23ce

devin-ai-integration bot added a commit that referenced this pull request Nov 21, 2025
Co-Authored-By: smacleod@cloudflare.com <smacleod@cloudflare.com>
devin-ai-integration bot added a commit that referenced this pull request Nov 21, 2025
Co-Authored-By: smacleod@cloudflare.com <smacleod@cloudflare.com>
@github-project-automation github-project-automation bot moved this from Untriaged to Approved in workers-sdk Nov 21, 2025
@penalosa penalosa force-pushed the penalosa/tail-logs-default branch from 710553a to 65f23ce Compare November 27, 2025 15:15
@penalosa penalosa merged commit a977701 into main Nov 27, 2025
32 of 33 checks passed
@penalosa penalosa deleted the penalosa/tail-logs-default branch November 27, 2025 16:29
@github-project-automation github-project-automation bot moved this from Approved to Done in workers-sdk Nov 27, 2025
devin-ai-integration bot added a commit that referenced this pull request Dec 17, 2025
Backport of PR #11135 and PR #11346 to v3-maintenance branch.

This change uses tail-based logging for remote dev mode instead of the
devtools inspector, improving the reliability of console.log output
when running wrangler dev --remote.

Changes:
- Add --experimental-tail-logs flag (default true, hidden)
- Connect to tail websocket when tail logs enabled
- Add realishPrintLogs function for simplified log printing
- Make inspector URL optional when tail logs enabled
- Disable devtools hotkey when tail logs enabled in remote mode

Co-Authored-By: smacleod@cloudflare.com <smacleod@cloudflare.com>
penalosa added a commit that referenced this pull request Dec 19, 2025
* Turn on tail logs by default

* Isolate inspector changes to remote only

* Create tricky-starfishes-tap.md

* Isolate hotkeys
penalosa added a commit that referenced this pull request Dec 19, 2025
* Turn on tail logs by default

* Isolate inspector changes to remote only

* Create tricky-starfishes-tap.md

* Isolate hotkeys
penalosa added a commit that referenced this pull request Dec 19, 2025
* Turn on tail logs by default

* Isolate inspector changes to remote only

* Create tricky-starfishes-tap.md

* Isolate hotkeys
edmundhung pushed a commit that referenced this pull request Dec 19, 2025
)

* Implement tail-based logging for realish preview (#11135)

* Turn on tail logs by default (#11346)

* Turn on tail logs by default

* Isolate inspector changes to remote only

* Create tricky-starfishes-tap.md

* Isolate hotkeys

* fix types

* fix types

* fix changeset

---------

Co-authored-by: Somhairle MacLeòid <smacleod@cloudflare.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants