[#BloombergLP-ball-AsyncFileObserver-disableFileLogging] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/AsyncFileObserver.adoc[AsyncFileObserver]::disableFileLogging :relfileprefix: ../../../ :mrdocs: Disable file logging for this async file observer. This method has no effect if file logging is not enabled. Calling this method will prevent the logging to a file of any unpublished records held by this observer. Note that records subsequently received through the `publish` method as well as those that are currently on the queue may still be logged to `stdout` after calling this method. == Synopsis Declared in `<ball_asyncfileobserver.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void disableFileLogging(); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#