07-05-2019 06:54 AM
Is there a way to turn off the console logging that NSO has for commits?
My example is if someone (not me) is using NSO and performs a sync-from on a group of devices, on my terminal I see every single commit of the sync-from for each device. This can make it hard to see the output of the command that I am running (an action with meaningful output for example), as it will get lost in the sync-form commit messages.
Solved! Go to Solution.
07-05-2019 08:46 AM
There are some options in ncs.conf you can try out. They are documented in the ncs.conf man pages. After you update ncs.conf you need to restart NSO.
/ncs-config/cli/commit-message (boolean) [true]
CLI prints out a message when a commit is executed
/ncs-config/cli/suppress-commit-message-context (string)
This parameter may be given multiple times.
A list of contexts for which no commit message shall be displayed. A good value is [ system ] which will make all system generated commits to go unnoticed in the CLI. A context is either the name of an agent i.e cli, webui, netconf, snmp or any free form text string if the transaction is initated from Maapi
07-05-2019 08:46 AM
There are some options in ncs.conf you can try out. They are documented in the ncs.conf man pages. After you update ncs.conf you need to restart NSO.
/ncs-config/cli/commit-message (boolean) [true]
CLI prints out a message when a commit is executed
/ncs-config/cli/suppress-commit-message-context (string)
This parameter may be given multiple times.
A list of contexts for which no commit message shall be displayed. A good value is [ system ] which will make all system generated commits to go unnoticed in the CLI. A context is either the name of an agent i.e cli, webui, netconf, snmp or any free form text string if the transaction is initated from Maapi
07-08-2019 11:10 AM
I think this did the trick. Thanks.
07-05-2019 08:58 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide