Parameter:
Log_SessionsShort description: Controls whether individual sessions are recorded in the log file and on the server console. Values 0/1.
Profile
Parameter | Log_Sessions |
Category | Logging / Debug |
Available since | At least 9.0.1 (HCL docs 9.0.1 – 14.5.1) |
GUI equivalent | Server setup Advanced Server Setup → Log All Client Events option (alternative: Configuration Settings document → NOTES.INI Settings tab) |
Possible values | 0 (do not log sessions) or 1 (log individual sessions) |
Default | None (HCL: no explicit default — behavior like 0) |
Description
According to HCL product documentation (14.5.1, Log_Sessions):
Specifies whether individual sessions are recorded in the log file and displayed on the console.
Syntax:Log_Sessions=value
Description: Options for value are: 0 — Do not log individual sessions; 1 — Log individual sessions
Applies to: Servers — Default: None — UI equivalent: The Log All Client Events setting that is an Advanced server Setup option. You can also specify this setting in the NOTES.INI Settings tab of the Configuration Settings document in the Domino® Directory.
With
Log_Sessions=1, the Domino server writes an entry to log.nsf (Usage view) and outputs a console message for every individual session (Notes client connection, server-to-server replication, NRPC sessions). This is helpful for logging the IP addresses of accessing clients, maintaining connection tracking for audits, or detecting anomalous connection patterns.Caution: on production servers with many connections, the logging can quickly grow the server log — a typical trade-off between audit depth and log volume.
Example configuration
Enable session logging:
Log_Sessions=1
Disable session logging:
Log_Sessions=0
Notes & pitfalls
- HCL specifies no explicit default — without the parameter, Domino behaves like
0(no session logging).
- The server setup option Log All Client Events writes this parameter automatically during setup.
- For NRPC connection logs,
Log_Connections=1is the complementary toggle (TCP/IP connection level).
- The Configuration Settings document takes precedence over notes.ini if both set a value.
- Often used in combination with
Log_Connectionsand server document audit settings for GDPR/compliance setups.
Sources (HCL Product Documentation)
- HCL Domino 14.5.1 – Log_Sessions: help.hcl-software.com/domino/14.5.1/admin/conf_log_sessions_r.html
- HCL Domino 11.0.1 – Log_Sessions: help.hcl-software.com/domino/11.0.1/admin/conf_log_sessions_r.html
- HCL Domino 9.0.1 – Log_Sessions: help.hcl-software.com/domino/9.0.1/admin/admin/conf_log_sessions_r.html