[#BloombergLP-ball-AsyncFileObserver-startPublicationThread] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/AsyncFileObserver.adoc[AsyncFileObserver]::startPublicationThread :relfileprefix: ../../../ :mrdocs: Start a publication thread to asynchronously publish log records from the record queue. If a publication thread is already active, this operation has no effect. Return 0 on success, and a non‐zero value if there is an error creating the publication thread. Note that log records received by the `publish` method may have accumulated on the queue before the publication thread is started. == Synopsis Declared in `<ball_asyncfileobserver.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int startPublicationThread(); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#