-
Notifications
You must be signed in to change notification settings - Fork 69
Description
Is your feature request related to a problem? Please describe.
When using the Temporal Typescript SDK, and starting a local workflow environment for local development with:
TestWorkflowEnvironment.createLocal(...)
The server outputs text to the console. Every time I start my application or run my tests I see:
...
CLI 1.4.1 (Server 1.28.0, UI 2.39.0)
Server: localhost:63201
UI: http://localhost:64201
Metrics: http://localhost:63205/metrics
...
Besides being too verbose for my test outputs, it also confuses engineers in my organization; they tend to copy these URLs to issue requests against, when in reality our application server runs on another port. There is no indication that these logs come from Temporal, nor a way to rewrite them or disable them altogether.
Describe the solution you'd like
Any mechanism to change the logging of the local temporal environment would help. If that's not possible, a way to disable that output.
Ideally, I would prefer if the output was:
...
Temporal CLI 1.4.1 (Server 1.28.0, UI 2.39.0)
Temporal Server: localhost:63201
Temporal UI: http://localhost:64201
Temporal Metrics: http://localhost:63205/metrics
...
But I'd also like to be able to disable them when running integration tests.
Additional context
I've navigated through Temporal's GitHub organization and found that these logs are produced here.
I could not find a way to pass in a DevServerConfig in a way that allows me to control that output.