NickCarneiro / remtail

tail log files from multiple remote hosts
MIT License
137 stars 5 forks source link

Show file name with host name #8

Closed ggmathur closed 9 years ago

ggmathur commented 9 years ago

If I'm tailing two files on the same host, it's hard to tell them apart. Figure out how the two file names differ (what part of the path) and display that.

brunowego commented 9 years ago

+1

mjpitz commented 9 years ago

Pull request up for review: #10

mjpitz commented 9 years ago

Ah, my current code doesn't support something like: tomcat1-app/logs/application.log tomcat2-app/logs/application.log. Working on an improvement

Fixed this. @ggmathur: Please check out branch jpitz and review. Let me know if there is an improvement you'd like me to make.

NickCarneiro commented 9 years ago

Great implementation. This is how I would have done it.

ggmathur commented 9 years ago

Looks good. Thanks @jpitz!