Question : Tomcat Logs in Browser

Hello Everyone,

I wanted to find out if there is an easy way to display the tomcat application logs in a browser window through some link, we want to give the admins the capability to look at the logs through a browser instead of going in to the directory structure.

Any suggestions or code would be greatly appreciated.

Thank you
Harsha

Answer : Tomcat Logs in Browser

Have a JSP page which can read the log file from your log directory and refresh automatically every few mins. This can be done with a simple Java IO operation and meta refresh tag in the jsp.
Random Solutions  
 
programming4us programming4us