OpenFileLog (NotesLog - LotusScript®)

Starts logging to a specified disk file. This method returns an error if you call it on a server.

Defined in

NotesLog

Syntax

Call notesLog .OpenFileLog( path$ )

Parameters

path$

String. The path and file name of the log file. If the file does not exist, the method creates it for you. If a directory in the path does not exist, the method raises an error.

Usage

If an agent is signed by a user that has unrestricted access then this method can be called on the server.

To write over an existing log file, you must set the OverwriteFile property to True before calling the OpenFileLog method.

Logging actions and errors

For information on how actions and errors get logged to a database log, see the LogAction and LogError methods.

Example