[#BloombergLP-ball-FileObserver-suppressUniqueFileNameOnRotation]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/FileObserver.adoc[FileObserver]::suppressUniqueFileNameOnRotation
:relfileprefix: ../../../
:mrdocs:

Suppress or enable unique filenames when rotating the log file&period;

== Synopsis

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

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

== Description

Suppress generating a unique log file name upon rotation if the specified `suppress` is `true`, and generate a unique filename otherwise&period; See &lcub;Rotated File Naming&rcub; for details&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *suppress*
| whether to suppress unique names on rotation
|===


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