Skip to content

Commit 2e57fc9

Browse files
committed
Temporarily disable Node-style logging for service workers
1 parent 875a517 commit 2e57fc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/workerd/server/server.c++

+1-1
Original file line numberDiff line numberDiff line change
@@ -2484,7 +2484,7 @@ kj::Own<Server::Service> Server::makeWorker(kj::StringPtr name, config::Worker::
24842484
name,
24852485
kj::mv(limitEnforcer),
24862486
inspectorPolicy,
2487-
consoleMode);
2487+
conf.isServiceWorkerScript() ? Worker::ConsoleMode::INSPECTOR_ONLY : consoleMode);
24882488

24892489
// If we are using the inspector, we need to register the Worker::Isolate
24902490
// with the inspector service.

0 commit comments

Comments
 (0)