ā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
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