f5-common-python icon indicating copy to clipboard operation
f5-common-python copied to clipboard

Debug output is broken since debug output became optional in the icrs

Open nugend opened this issue 7 years ago • 3 comments

https://github.com/F5Networks/f5-icontrol-rest-python/pull/149

Change is needed to pull from the correct variable and also a way to enable debug output is needed.

nugend avatar Apr 18 '18 20:04 nugend

@nugend you can do this. Either provide a debug arg to the ManagementRoot, or, set the debug property to True after instantiation

caphrim007 avatar Apr 18 '18 21:04 caphrim007

@caphrim007 Sorry, should've specified. This is for bigiq.ManagementRoot

nugend avatar Apr 18 '18 22:04 nugend

@nugend have you tried passing debug=True in the **kwargs when you instantiated ManagementRoot for bigiq , something like this?

from f5.bigiq import ManagementRoot

mr = ManagementRoot('yourbigiq' , 'user', 'pass', debug=True)

wojtek0806 avatar Aug 08 '18 10:08 wojtek0806