IsOverwriteFile (Log - Java)

Read-Write. For a log that records to a file, indicates if the log should write over the existing file or append to it. This property has no effect on logs that record to a mail message or database.

Defined in

Log

Data type

boolean

Syntax

public boolean isOverwriteFile()
    throws NotesException
public void setOverwriteFile(boolean flag)
    throws NotesException

Legal values

  • true writes over the existing log file
  • false (default) appends to the existing log file

Usage

To write over an existing log file, you must set this property to true before calling the openFileLog method.

Example