#How to enable and view debug?

1 messages · Page 1 of 1 (latest)

maiden heath
#

We have followed official documentation and enabled the following flags in backend CR:

apiVersion: trident.netapp.io/v1
kind: TridentBackendConfig
...
spec:
...
debug: true
debugTraceFlags:
api: true
method: true

And still, we do not see anything in addition to standard logging output? nothing new on trident-controller or any other pods.

Ideas?

opaque field
#

Hi @maiden heath , that looks like output in our docs from running the command ./tridentctl get backends ontap_nas_auto_export -n trident -o yaml.

maiden heath
opaque field
#

So you need to enable debug for the Trident installation. The backend config only supports setting the debugTraceFlags parameter for a single backend.