snaketail-net icon indicating copy to clipboard operation
snaketail-net copied to clipboard

Allow pipeline support

Open GoogleCodeExporter opened this issue 9 years ago • 2 comments

Several apps, specially java based log to the stdout/stderr. It would be good 
if we could do:

comand | snaketail 

of
comand | snaketail -

this would allow one to check the logs using a better interface and avoid 
creating a file

Original issue reported on code.google.com by [email protected] on 23 Jun 2014 at 12:51

GoogleCodeExporter avatar Mar 17 '15 21:03 GoogleCodeExporter

So you want to start a new instance of SnakeTail for each command, and have 
SnakeTail to cache all stdout in memory, and when closing SnakeTail then all 
output is lost?

Or do you want snaketail-helper-console-app, that automatically hooks up with 
existing instance of SnakeTail and displays output in existing tail-window.

Or a snaketail-helper-console-app, that automatically creates a new filename 
for every start (with timestamp in filename), that also deletes files older 
than today. SnakeTail tail-window will just open file with wildcard and display 
the latest created file. This kind of helper-app could easily be implemented 
with a simple script.

Original comment by [email protected] on 14 Oct 2014 at 10:04

GoogleCodeExporter avatar Mar 17 '15 21:03 GoogleCodeExporter

you have a good question! :)

I think the more useful and flexible is the last one, a helper that create and 
rotate files and snaketail can open then.

Thanks

Original comment by [email protected] on 15 Oct 2014 at 11:40

GoogleCodeExporter avatar Mar 17 '15 21:03 GoogleCodeExporter