Display logs everywhere
License: GPL V3 Author : Philippe DEMANGET 1st Release Date: 28/06/2013
note on ExtJS: this is an external library to add to ext/ folder of the webapp. You can get its source from sencha or from dependencies of the pom.xml, just unzip the jar (org.webjars/extjs)
installation Note: this war file has been tested under java7 environnement with 4 Application server: Tomcat: add war to tomcat/webapps or run "mvn tomcat:run" JBoss: add war file in jboss-eap-6.1/standalone/deployments/ Glassfish: add war file to glassfishv3/glassfish/domains/domain1/autodeploy Jetty: launch "java -jar jetty-runner warlog.war"
configure the parameter "whitelist" in the file /etc/warlog.properties or the included resource src/main/resources/warlog.properties mvn package copy or install the war : target/warlog.war
OR download the binary war file from http://sourceforge.net/projects/warlog
Just copy the war
mvn tomcat:run mvn jetty:run
mvn cargo:run with cargo, find the embedded tomcat8 in folder:
target/cargo/configurations/tomcat8x/webapps/warlog.war
Configuration in warlog.properties and file filter
managing file as text
manageing tabs
first release with tree, file reading as list
- : file saving
- : Security based on openid
- : 0.3 manage multwindow trees in same page
- : last page tail option.
- : dynamic parsing server-side
- : line filtering server-side or client side
- : line number in file
- : use hash url
- : only call file url on files
- : set more logs
- : Use id instead of path for identifier (tree bug)
- : auto-expand tree
- : manage folders bookmarks
known bugs
- : need to reload page 1 when file content is reduced (on log roll)
Development note:
- security: this only works in tomcat, and we need to specify a different web.xml
logs path: glassfish:http://localhost:8080/warlog/#/opt/glassfishv3/glassfish/domains/domain1/logs/server.log?File tomcat:/var/log/tomcat