A fork of aestasit log viewer that hopes to work with tomcat 7...
An 'Atmosphere' based log viewer for simulating a Unix tail command in a browser.
Sometime ago I have asked a question on Stackoverflow about the existence of a web application that could be used to tail on an arbitrary log file located on the server.
I wanted the application to be deployable on any recent Java application server (Tomcat 7.0.30+, Tomcat 6, Jetty, Weblogic 10.x) and also to have some kind of server push (Websocket, Comet) to avoid having to refresh the page.
At the time of writing only one person replied and he told me to write the application myself. I cracked some code in a couple of hours and this is the result.
The application uses the [Atmosphere] (http://atmosphere.java.net/) framework for pushing the log data from the server to the client. I never worked with Atmoshphere before and I have found the documentation to be very poor, so I may not be using the framework in the perfect way. Nevertheless the application works in Tomcat 6.x and Jetty 6.1 (with some gotchas, see the "compatibility matrix").
To build the application, please install [Gradle] 1.6 (http://www.gradle.org/), the Groovy based build tool or use the awesome [GVM] (http://www.gvmtool.net) install tool.
Once installed, type :
gradle war
to generate the deployable artifact.
gradle jettyRun
Plan is for this to work also but as yet NOPE! ...
Plan is for this to work also but as yet No idea...
Works with Chrome and Firefox 4. Other browsers not tested.
Doesn't even deploy. :(
Enjoy. Fork, critique, comment, whatever.
2013 - atebyte apps