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

Comments

1Vladislav  28.12.2025 6:57:32  Suppress Domino show commands from log.nsf

Thank you.

It would be great to filter also server session like Traveler, that open many data bases on mail server.

2Patrice  30.12.2025 9:56:23  Suppress Domino show commands from log.nsf

Which setting is in effect for the log generated by the Do mino Start Script when Log_Console=0 ?

3Daniel Nashed  31.12.2025 21:08:35  Suppress Domino show commands from log.nsf

@Patrice,

Log_Console=0 just prevents to log into log.nsf. but it is still in console.log and in the Start Script Log.

4Daniel Nashed  31.12.2025 21:10:54  Suppress Domino show commands from log.nsf

@Vlaad I fully agree. there should be a way to exclude certain users from logging.

Traveler is the best example. It's not a normal user and it generates a lot of logging.

It would make sense to have an AHA idea. Let me know if you create one. I would want to vote for it! It's on my wishlist, too!

Links

    Archives


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