From 0c2074afbebdd5e2508e42cf9abf37453041edec Mon Sep 17 00:00:00 2001 From: OmarAlJarrah Date: Wed, 17 Jun 2026 04:40:47 +0300 Subject: [PATCH] docs: document DEBUG log level for virtual-thread executor close --- .../org/dexpace/sdk/async/virtualthreads/VirtualThreads.kt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sdk-async-virtualthreads/src/main/kotlin/org/dexpace/sdk/async/virtualthreads/VirtualThreads.kt b/sdk-async-virtualthreads/src/main/kotlin/org/dexpace/sdk/async/virtualthreads/VirtualThreads.kt index 1ceb92bb..6a1fc6ae 100644 --- a/sdk-async-virtualthreads/src/main/kotlin/org/dexpace/sdk/async/virtualthreads/VirtualThreads.kt +++ b/sdk-async-virtualthreads/src/main/kotlin/org/dexpace/sdk/async/virtualthreads/VirtualThreads.kt @@ -80,6 +80,10 @@ public class VirtualThreadAsyncHttpClient internal constructor( * Shuts down the virtual-thread executor and waits for in-flight tasks to complete. * Idempotent: a second (or later) call returns immediately without touching the executor * or logging again. + * + * The `executor.closed` event is logged at DEBUG by design: closing the executor is a + * routine lifecycle event, not an operationally noteworthy condition that warrants a + * higher level. */ override fun close() { if (!closed.compareAndSet(false, true)) return