noobaa-operator icon indicating copy to clipboard operation
noobaa-operator copied to clipboard

CLI | NSFS | Extend SetDebugLevel cli command to support nsfs debug config

Open romayalon opened this issue 1 year ago • 2 comments

Environment info

  • NooBaa Operator Version: master
  • Platform: minikube

Actual behavior

  1. User can change the debug level to 0-5 / warn only. More details: Currently, set-debug-level cli command accepts only the level parameter, while the module parameter is hardcoded "core". The nsfs debug configuration is defined in debug_config.js file in noobaa-core repo and is mapped to level=5 and module= specific files in endpoint and core. Currently, one can not set the debug level to nsfs using this CLI method. This change might need to include changes in debug API.

Expected behavior

  1. User can change the debug level to nsfs debug configuration as defined in debug_config.js

Steps to reproduce

More information - Screenshots / Logs / Other output

romayalon avatar Mar 06 '23 13:03 romayalon