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

Fix tailing #52

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Fix tailing #52

wants to merge 2 commits into from

Conversation

joshbuddy
Copy link

What? Why?

This makes tailing try to reconnect until it's able to. As well, it supports tailing multiple boxes.

How was it tested?

Been using these changes for a while.

cc @daveaugustine @jtai @igor47

@jtai
Copy link
Contributor

jtai commented Apr 11, 2014

/cc @nelgau

Thread.new do
tailer = LogTailer.new(instance.public_dns_name, options['ssh_user'])
tailer.run!
puts "Finished #{instance.public_dns_name} => #{instance.id}"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yay, having the instance id at the end would be so useful.

@nelgau
Copy link
Contributor

nelgau commented Apr 13, 2014

Since we're tailing many instances now, should we prefix each log line with the instance id?

@alexism
Copy link
Contributor

alexism commented Aug 14, 2014

A prefix would make sense indeed.
Colors would be gravy.

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

Successfully merging this pull request may close these issues.

4 participants