[#BloombergLP-ball-FileObserver2-disableFileLogging] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/FileObserver2.adoc[FileObserver2]::disableFileLogging :relfileprefix: ../../../ :mrdocs: Disable file logging for this file observer. This method has no effect if file logging is not enabled. Note that records subsequently received through the `publish` method will be dropped until file logging is re‐enabled. == Synopsis Declared in `<ball_fileobserver2.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void disableFileLogging(); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#