From b8fbe1ace51a2737c59b0cbe49b436f1e163cdbe Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Mon, 20 Jun 2022 13:07:31 -0700 Subject: [PATCH] Remove some extraneous logging --- plugins/commands/serve/service/capability_platform_service.rb | 4 +--- plugins/commands/serve/service/communicator_service.rb | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) 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]