diff --git a/plugins/communicators/winrm/communicator.rb b/plugins/communicators/winrm/communicator.rb index fe1d66f92..c9cfa8327 100644 --- a/plugins/communicators/winrm/communicator.rb +++ b/plugins/communicators/winrm/communicator.rb @@ -17,10 +17,10 @@ module VagrantPlugins end def initialize(machine) + @cmd_filter = CommandFilter.new() + @logger = Log4r::Logger.new("vagrant::communication::winrm") @machine = machine @shell = nil - @logger = Log4r::Logger.new("vagrant::communication::winrm") - @cmd_filter = CommandFilter.new() @logger.info("Initializing WinRMCommunicator") end