diff --git a/docs/notes/2.33.x.md b/docs/notes/2.33.x.md index 41cfa6f58e7..1b63896348d 100644 --- a/docs/notes/2.33.x.md +++ b/docs/notes/2.33.x.md @@ -16,6 +16,8 @@ Thank you to [Klaviyo](https://www.klaviyo.com/) for their Platinum tier support ### General +The thread used by the [`workunit-logger`](https://www.pantsbuild.org/2.33/reference/subsystems/workunit-logger) is now named. + ### Goals ### Backends diff --git a/src/python/pants/engine/streaming_workunit_handler.py b/src/python/pants/engine/streaming_workunit_handler.py index 9145f83c929..250a93299ef 100644 --- a/src/python/pants/engine/streaming_workunit_handler.py +++ b/src/python/pants/engine/streaming_workunit_handler.py @@ -294,7 +294,7 @@ def __init__( max_workunit_verbosity: LogLevel, allow_async_completion: bool, ) -> None: - super().__init__(daemon=True) + super().__init__(daemon=True, name="workunit-stream") self.scheduler = scheduler self.context = context self.stop_request = threading.Event()