Dion H. wrote:
do you think it would be possible to tail -f the production log and
update an html element using rjs
so that the web page is updated every time the production log is updated?
All you need is periodically_call_remote. Get googling!
basically I want to see my logs on an admin web page so I don’t have to
ssh into my server
I would only abuse Ajax for a paying customer. For myself, I would
nab one of several log-reading websites which I suspect are out there,
dump the log into a
tag and then hit refresh frequently - or
refresh with a META tag.
Is there some reason you need to watch your logs so often?