diff --git a/plugins/commands/serve/service/capability_platform_service.rb b/plugins/commands/serve/service/capability_platform_service.rb index 22049e6b9..c40ec04eb 100644 --- a/plugins/commands/serve/service/capability_platform_service.rb +++ b/plugins/commands/serve/service/capability_platform_service.rb @@ -69,12 +69,10 @@ module VagrantPlugins req.func_args, expect: default_args.keys + [Type::Direct] ) + args = capability_arguments(args) cap_method = target_cap.method(cap_name) - arg_list = args.join("\n - ") - logger.debug("arguments to be passed to #{cap_name} on plugin #{plugin_name}:\n - #{arg_list}") - result = cap_method.call(*args) logger.debug("got result #{result}") diff --git a/plugins/commands/serve/service/communicator_service.rb b/plugins/commands/serve/service/communicator_service.rb index 373abe7b2..4f3b618ff 100644 --- a/plugins/commands/serve/service/communicator_service.rb +++ b/plugins/commands/serve/service/communicator_service.rb @@ -135,7 +135,6 @@ module VagrantPlugins def execute(req, ctx) with_plugin(ctx, :communicators, broker: broker) do |plugin| - logger.debug("got req: #{req}") machine, cmd, opts = mapper.funcspec_map( req, mapper, broker, expect: [Vagrant::Machine, SDK::Communicator::Command, Type::Options]