Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More verbose reporting in terminal #10

Closed
rjmunro opened this issue Jul 2, 2014 · 1 comment
Closed

More verbose reporting in terminal #10

rjmunro opened this issue Jul 2, 2014 · 1 comment

Comments

@rjmunro
Copy link

rjmunro commented Jul 2, 2014

It would be great if the terminal this runs in reported a bit more about what changed and when. Currently I just get a terminal that looks like:

==> project01: Rsyncing folder: /Users/rjmunro/project/ => /vagrant
==> project01:   - Exclude: [".vagrant/", ".git/", "vendor/"]
==> project01: Rsyncing folder: /Users/rjmunro/project/ => /vagrant
==> project01:   - Exclude: [".vagrant/", ".git/", "vendor/"]
==> project01: Rsyncing folder: /Users/rjmunro/project/ => /vagrant
==> project01:   - Exclude: [".vagrant/", ".git/", "vendor/"]
==> project01: Rsyncing folder: /Users/rjmunro/project/ => /vagrant
==> project01:   - Exclude: [".vagrant/", ".git/", "vendor/"]

Once the screen is full, it no longer appears to even move. I'd like to get a better feeling of what is going on, e.g.

==> project01: Gatling: 2014-07-02 12:34:56 file foo/bar changed 
==> project01: Rsyncing folder: /Users/rjmunro/project/ => /vagrant
==> project01:   - Exclude: [".vagrant/", ".git/", "vendor/"]
==> project01: Gatling: 2014-07-02 13:57:11 file foo/baz changed 
==> project01: Rsyncing folder: /Users/rjmunro/project/ => /vagrant
==> project01:   - Exclude: [".vagrant/", ".git/", "vendor/"]
@smerrill
Copy link
Owner

This has been included in version 0.0.4 which was just released to RubyGems.

The message looks like this now and you can customize the time format at the start of the message with the config.gatling.time_format option.

==> default: Watching: /home/smerrill/Projects/vagrant-gatling-rsync/example/files
==> default: Rsyncing folder: /home/smerrill/Projects/vagrant-gatling-rsync/example/files/ => /opt/vagrant/rsynced_folder
==> default:   - Exclude: [".vagrant/", ".git/", ".idea/"]
==> default: 03:20:11 PM: The rsync operation completed in 820.901134 milliseconds.
==> default: Rsyncing folder: /home/smerrill/Projects/vagrant-gatling-rsync/example/files/ => /opt/vagrant/rsynced_folder
==> default:   - Exclude: [".vagrant/", ".git/", ".idea/"]
==> default: 03:20:16 PM: The rsync operation completed in 374.691412 milliseconds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants