Unix admins, how do you remotly tail a logfile via http ?
Hello,
please help me I'm sure that it's very easy but I can't found any solution. I'm working everyday with a logfile that I have to reload every second to see the output in firefox... http://myserver/mylogfile.log.. What's the command to watch continually a file via http ??? something like that : Code:
"watch tail http://myserver/mylogfile.log" Thanks you for your help. raf |
just mount it! http://httpfs.sourceforge.net/
looks like it would actually support a tail due to it's use of http range requests. you *could* curl the end of the file manually using range requests, but that would be hard to keep track of what you're doing. |
nice question btw... as for the tail itself, you shouldn't normally run tail through watch, that's pretty horrible. instead use "tail -f filename"
|
great thx !
|
All times are GMT -5. The time now is 12:25 PM. |