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


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
    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. – lcdservices Apr 2 '18 at 2:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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