Skip to content

pdemanget/warlog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

warlog

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"

Installation

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

Run

On installed tomcat

Just copy the war

With maven

mvn tomcat:run mvn jetty:run

mvn cargo:run with cargo, find the embedded tomcat8 in folder:

target/cargo/configurations/tomcat8x/webapps/warlog.war

Change log

V0.3.1 (2014-06-21)

Configuration in warlog.properties and file filter

V0.3.0

managing file as text

V0.2.0

manageing tabs

V0.1.0

first release with tree, file reading as list

change 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

About

Display logs everywhere

Resources

Stars

Watchers

Forks

Packages

No packages published