Can the command line cv tool be used to enable/disable logging?
1 Answer
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)
-
3actually, 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