Skip to content
This repository was archived by the owner on Oct 21, 2022. It is now read-only.
This repository was archived by the owner on Oct 21, 2022. It is now read-only.

Quiet "time taken to upload" output? #33

Description

@jayhendren

When uploading files with the SFTP transporter, my testkitchen output gets polluted with a lot of this kind of stuff:

 Transferring files to <default-cub-rh7>
[SFTP] Time taken to upload /tmp/default-cub-rh7-sandbox-20170421-28438-1s6o5ur/policy to vagrant@127.0.0.1<{:user_known_hosts_file=>"/dev/null", :paranoid=>false, :port=>"2200", :compression=>false, :compression_level=>0, :keepalive=>true, :keepalive_interval=>60, :timeout=>15, :keys_only=>true, :keys=>["/home/jay/local/data/sis/git/cookbooks/CF-325/cub_epel/.kitchen/kitchen-vagrant/kitchen-cub_epel-default-cub-rh7/.vagrant/machines/default/virtualbox/private_key"], :auth_methods=>["publickey"], :logger=>#<Logger:0x0000000384a000 @progname=nil, @level=4, @default_formatter=#<Logger::Formatter:0x00000003849fd8 @datetime_format=nil>, @formatter=nil, @logdev=#<Logger::LogDevice:0x00000003849f88 @shift_size=nil, @shift_age=nil, @filename=nil, @dev=#<IO:<STDERR>>, @mon_owner=nil, @mon_count=0, @mon_mutex=#<Thread::Mutex:0x00000003849f60>>>, :password_prompt=>#<Net::SSH::Prompt:0x00000003849f38>, :user=>"vagrant"}>:/tmp/verifier/policy: 0.51 sec
[SFTP] Time taken to upload /tmp/default-cub-rh7-sandbox-20170421-28438-1s6o5ur/suites to vagrant@127.0.0.1<{:user_known_hosts_file=>"/dev/null", :paranoid=>false, :port=>"2200", :compression=>false, :compression_level=>0, :keepalive=>true, :keepalive_interval=>60, :timeout=>15, :keys_only=>true, :keys=>["/home/jay/local/data/sis/git/cookbooks/CF-325/cub_epel/.kitchen/kitchen-vagrant/kitchen-cub_epel-default-cub-rh7/.vagrant/machines/default/virtualbox/private_key"], :auth_methods=>["publickey"], :logger=>#<Logger:0x0000000384a000 @progname=nil, @level=4, @default_formatter=#<Logger::Formatter:0x00000003849fd8 @datetime_format=nil>, @formatter=nil, @logdev=#<Logger::LogDevice:0x00000003849f88 @shift_size=nil, @shift_age=nil, @filename=nil, @dev=#<IO:<STDERR>>, @mon_owner=nil, @mon_count=0, @mon_mutex=#<Thread::Mutex:0x00000003849f60>>>, :password_prompt=>#<Net::SSH::Prompt:0x00000003849f38>, :user=>"vagrant"}>:/tmp/verifier/suites: 0.09 sec

Should this perhaps be debug output instead of info output?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions