[#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&period;

== Synopsis

Declared in `&lt;ball&lowbar;asyncfileobserver&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
disableFileLogging();
----

== Description

Disable file logging for this async file observer&period; This method has no effect if file logging is not enabled&period; Calling this method will prevent the logging to a file of any unpublished records held by this observer&period; 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&period;


[.small]#Created with https://www.mrdocs.com[MrDocs]#
