LOTUSSCRIPT/COM/OLE CLASSES
Opens a specified Domino database for logging.
Defined in
NotesLog
Syntax
Call notesLog.OpenNotesLog( server$, dbfile$ )
Parameters
server$
One document is created in the database for each error or action that you log. Each document has a Form item set to "Log Entry" and contains the following items:
The StdR4AgentLog template (ALOG4.NTF) is designed to display the action and error documents that a NotesLog creates. If the dbfile$ you specify inherits its design from this template, you can use the database's main view to see each of the items listed above. Several agents can log to the same server$ and dbfile$. The database categorizes each action and error according to the A$PROGNAME item.
Opening a database
A script that attempts to open a database to which it does not have access returns an error. A script needs at least Reader access to a database in order to open it.
Logging actions and errors
For information on how actions and errors get logged to a database log, see the LogAction and LogError methods.
Language cross-reference
openNotesLog in Java Log class
Example See Also