Start/notes.ini Parameters/Log_MailRouting

Log_MailRouting

Parameter: Log_MailRouting
Short description: Controls the level of detail of the mail router logging on the console and log.nsf — values 0, 10, 20, 30, 40 (default 20).

Profile

Parameter
Log_MailRouting
Category
Mail / Router
Available since
At least 9.0.1 (HCL documentation)
GUI equivalent
Configuration document: Router/SMTP → Advanced → Controls (Logging level). According to the HCL KB, the notes.ini value takes precedence over the GUI level.
Possible values
0, 10 (minimal), 20 (normal), 30 (informational), 40 (verbose)
Default
20

Description

According to HCL product documentation:
Specifies how much logging detail the mail router sends to the server console and log file.
Options are: 0, 10, 20, 30, or 40 events.
The HCL knowledge base (KB0033409) clarifies the behavior versus the configuration document:
The notes.ini parameter "log_mailrouting=" and the logging level in the Configuration Document (Router/SMTP --> Advanced --> Controls) serve the same function. (...) If this parameter is set along with the logging level, a change in the logging level in the Configuration Document will NOT alter the value set in the "log_mailrouting=" parameter. The notes.ini parameter takes precedence over the logging level in the Configuration Document.
For standard operation, the default 20 (normal) is sufficient. Higher levels are intended primarily for diagnostics and debugging — and should be reset afterwards because they cause log.nsf to grow significantly.

Example configuration

Log_MailRouting=40
With Log_MailRouting=40 (verbose), the router logs at maximum detail — e.g. for analyzing routing problems or when trapping SMTP traffic (see HCL KB articles on SmtpSaveOutboundToFile).

Notes & pitfalls

  • As long as Log_MailRouting is set in notes.ini, a change to the logging level in the configuration document has no effect (HCL KB0033409).
  • HCL console message at router start when notes.ini holds the value: "Router: notes.ini setting for Log_Mailrouting being used (note - this option may now be configured in a Server Configuration document)".
  • Verbose levels (30 / 40) are diagnostic — set back to 20 after analysis.

Sources (HCL Product Documentation)