diff --git a/maxctrl/lib/disable.js b/maxctrl/lib/disable.js index 28024fc47..a9ca6dc96 100644 --- a/maxctrl/lib/disable.js +++ b/maxctrl/lib/disable.js @@ -36,16 +36,6 @@ exports.builder = function(yargs) { }) } }) - .command('maxlog', 'Disable MaxScale logging', {}, function(argv) { - maxctrl(argv, function(host) { - return updateValue(host, 'maxscale/logs', 'data.attributes.parameters.maxlog', false) - }) - }) - .command('syslog', 'Disable syslog logging', {}, function(argv) { - maxctrl(argv, function(host) { - return updateValue(host, 'maxscale/logs', 'data.attributes.parameters.syslog', false) - }) - }) .command('account ', 'Disable a Linux user account from administrative use', {}, function(argv) { maxctrl(argv, function(host) { return doRequest(host, 'users/unix/' + argv.name, null, { method: 'DELETE'}) diff --git a/maxctrl/lib/enable.js b/maxctrl/lib/enable.js index d280e8822..dd51a3ff3 100644 --- a/maxctrl/lib/enable.js +++ b/maxctrl/lib/enable.js @@ -36,16 +36,6 @@ exports.builder = function(yargs) { }) } }) - .command('maxlog', 'Enable MaxScale logging', {}, function(argv) { - maxctrl(argv, function(host) { - return updateValue(host, 'maxscale/logs', 'data.attributes.parameters.maxlog', true) - }) - }) - .command('syslog', 'Enable syslog logging', {}, function(argv) { - maxctrl(argv, function(host) { - return updateValue(host, 'maxscale/logs', 'data.attributes.parameters.syslog', true) - }) - }) .command('account ', 'Activate a Linux user account for administrative use', {}, function(argv) { var req_body = { data: {