cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1375
Views
16
Helpful
2
Replies

How to turn on debug logging

Fantolino
Level 1
Level 1

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
Hall of Fame
Hall of Fame

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