Skip to content

docs: document DEBUG log level for virtual-thread executor close#129

Merged
OmarAlJarrah merged 1 commit into
mainfrom
docs/virtualthreads-close-log-level
Jun 17, 2026
Merged

docs: document DEBUG log level for virtual-thread executor close#129
OmarAlJarrah merged 1 commit into
mainfrom
docs/virtualthreads-close-log-level

Conversation

@OmarAlJarrah

Copy link
Copy Markdown
Member

Summary

VirtualThreadAsyncHttpClient.close() emits an executor.closed event when it shuts down the backing virtual-thread executor. That event is logged via ClientLogger.atVerbose(), which maps LogLevel.VERBOSE to SLF4J DEBUG. The chosen level was previously undocumented, leaving readers to wonder whether DEBUG was deliberate or an oversight.

This adds one KDoc sentence on close() recording that the executor.closed event logs at DEBUG by design: closing the executor is a routine lifecycle event, not an operationally noteworthy condition that warrants a higher level.

No behavior change — documentation only.

Closes #10

@OmarAlJarrah OmarAlJarrah merged commit 55e35a9 into main Jun 17, 2026
1 check passed
@OmarAlJarrah OmarAlJarrah deleted the docs/virtualthreads-close-log-level branch June 17, 2026 01:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Confirm intended log level for the VirtualThreads executor close event

1 participant