JAVA/CORBA CLASSES
Opens a specified Lotus Notes/Domino database for logging.
Defined in
Log
Syntax
public void openNotesLog(String server, String database) throws NotesException
Parameters
String server
One document is created in the database for each error or action that you log. Each document contains the following items:
The StdR4AgentLog template (ALOG4.NTF) is designed to display the action and error documents that Log creates. If the database you specify inherits its design from this template, you can use the database main view to see each of the items listed above. Several agents can log to the same server and database; the database categorizes each action and error according to the A$PROGNAME item.
Opening a database
An agent that attempts to open a database to which it does not have access returns an error. You need at least Reader access to a database 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 method in LotusScript NotesLog class
Example See Also