3

Can the command line cv tool be used to enable/disable logging?

1

1 Answer 1

1

Yes, it is possible, but you have to use some bash magic. For disabling it is:

echo '{"logging":0}' | cv api Setting.create --in=json

(In case you forget, cv help api shows an example of the bash trick)

1
  • 3
    actually, I played around with it after creating this question and it can be done without any bash magic: cv api setting.create logging=1 to enable, logging=0 to disable. Commented Apr 2, 2018 at 2:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.