Wait for async logger queue to empty (without shutdown) #3412
Answered
by
tt4g
yohayonyon
asked this question in
Q&A
-
Hi all, Calling flush() on an async logger only flushes the sinks, but doesn't wait for the queue to be fully processed by the background thread. Is there a way to block until the async queue is empty, without shutting down or stopping the logger? Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
tt4g
Jun 5, 2025
Replies: 1 comment
-
Currently not supported. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
yohayonyon
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently not supported.
A PR that waits for asynchronous flushes has been merged (#3049), but there was a bug and it was reverted (#3235).