Domino on Linux/Unix, Troubleshooting, Best Practices, Tips and more ...

alt

Daniel Nashed

Suppress Domino show commands from log.nsf

Daniel Nashed – 27 December 2025 19:10:18

By default "show commands" are logged into log.nsf.
Usually you either need it in console.log only.
In some cases you only need it as a response to a remote console command.


notes.ini Log_Console controls the log behavior of "show" commands.

By default everything is logged to log.nsf.


Setting Log_Console=1 ensures the result is only logged to console.log -- which is usually what you want.

Only in highly restricted environments you want to set the parameter to 2 to enforce every request to be logged into log.nsf.


This includes requests with a prefixed exclamation mark.

Without setting it to 2 the prefixed exclamation mark does not log any output.


That's specially helpful for automating commands like "show stat", "show trans" commands in troubleshooting scenarios with Lotus Script or C-API.


Log_Console


By default, all console command output (except output preceded by an exclamation point) is recorded in the server log.
With Log_Console, you can control console command logging by setting this variable to the following:


Value / Description


0    Console command logging disabled
1    Console command output logged, unless it's prefixed with an exclamation point (this is the default; it produces the same behavior as omitting Log_Console from Notes.ini)

2    Console command output logged, whether or not it's prefixed with an exclamation point

Links

    Archives


    • [HCL Domino]
    • [Domino on Linux]
    • [Nash!Com]
    • [Daniel Nashed]