Prevent Lotus Notes Error messages from router and Web agents
In Lotus Notes, the Agent Manager is not the only process that can run Lotus Notes Agents. In this section, we highlight how to view diagnostic information in router and Web agents.
Because the router executes pre-delivery mail agents, the Agent Manager use Notes.ini settings for logging and debugging have no effect. Instead, use the Logging level field in the Router/SMTP – Advanced – Controls tab of the server’s Configuration Settings document to control the level of errors written to the server console for pre-delivery agents. You can set the Logging level to Minimal, Normal (the default), Informational, or Verbose.
If you select Verbose, your agent errors are logged to the console. Note that you also get a very verbose output of all router operations. By using this separate setting to control the output of pre-delivery mail agents, you can tune the performance of the router and still have your other agents generate as much output as needed for your other operations. The output from the pre-delivery agent on the server console is prefixed by Add in: as shown in the following example:
Addin: Agent message box: Message generated by mail pre-delivery agent.
This happens because the messages are generated by the router task (which is executing agent routines via API calls), and the router task is a server add-in.
The default setting for errors returned by agents in the browser Notes/Domino errors and displays a generic error message (“HTTP 500 – Internal server error”). Web developers can get a more meaningful error message by opening Microsoft Internet Explorer, selecting Tools – Internet Options – Advanced, and de-selecting the “Show friendly HTTP error messages” check box. This lets you see the actual error message generated by Domino.
Viewed 12866 times by 3826 viewers













