12-13-2022 08:10 AM
I have developed a package in python that produce debug log (using "self.log.debug). The I ported the package on another NSO installation (versione 5.7). The package work fine but logging is limited to "INFO" (generated by self.log.info).
I guess there is a configuration at system level to be set. Anybody knows how?
Solved! Go to Solution.
12-13-2022 09:39 AM - edited 12-13-2022 09:43 AM
From CLI session to NSO enter these commands:
admin@ncs# unhide debug
admin@ncs# config
Entering configuration mode terminal
admin@ncs(config)# python-vm logging level level-debug
admin@ncs(config)# commit
Yan
12-13-2022 08:48 AM
check if you can able to change the log facilities local7
https://developer.cisco.com/docs/nso/guides/#!ncs-man-pages-volume-5/ncs-conf
12-13-2022 09:39 AM - edited 12-13-2022 09:43 AM
From CLI session to NSO enter these commands:
admin@ncs# unhide debug
admin@ncs# config
Entering configuration mode terminal
admin@ncs(config)# python-vm logging level level-debug
admin@ncs(config)# commit
Yan
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the NSO Developer community: