Attribute(s)
Logging
Description
Avoid to log to the central log(.nsf). Log output of LotusScript agents to an application-specific log where possible. Include entries in the log that contain the time of both starting and stopping the agent. Remember that a single line of output creates a complete document in the agent log, so avoid massive output. If you do log to the log.nsf, remember that the agent manager already logs the start and stop time, so you don't need to.
Motivation
By logging starts en stops for script agents you can make sure the agent has ran (and ran the complete script!). The central log.nsf is a log for administrators and should not become filthy of application logging. As a developer, you may not be able to read in the log.nsf since administrators may restrict access to it.
Example / Details
Do not log in the log.nsf but in an application-specific log. Therefore you can use the following options:
Logging in the agent log
Logging to the agent log database (created from alog.ntf)
Logging in a Notes Document
Sending an email (to application owner of helpdesk).See the document (?Error_Handling?) for (error) logging example.