High-Level Specification
Overview
There are times when the Tomcat server logs need to be analyzed. It would be helpful to be able to view access from the webapp.
Requirements
- The view would need to be protected due to the potential of logins and urls being printed in it.
- The location of the logs folder should be customizable (after being automatically discovered at first run)
- The user should be able to select which log files should be displayed (stdout, stderr, manager, access etc)
- The user should be able to specify how many lines they'd like to view (like tail).
- The module should protect the user from overloading the webapp by loading in large log files at once.
- Could we allow the user to 'more' or 'tail -N | more'? This would require keeping a position in a file and allowing the user to virtually scroll up/down N number of lines (could use AJAX).