cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
328
Views
15
Helpful
2
Replies

How to turn on debug logging

Fantolino
Beginner
Beginner

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? 

1 Accepted Solution

Accepted Solutions

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

View solution in original post

2 Replies 2

balaji.bandi
VIP Community Legend VIP Community Legend
VIP Community Legend

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

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

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

Getting Started

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:

Recognize Your Peers