- Edit the
<jboss_home>/server/default/deployers/jbossweb.deployer/web.xml
and change the servlet attribute listings from false to true. - Edit the
<jboss_home>/server/default/deploy/jbossweb.sar/servlet.xml
and add the attribute allowLinking="true" to the Context element. - Create a log folder in the path
<jboss_home>/server/default/deploy/ROOT.war - In the log folder create a symbolic link to the log folder of jboss
$ ln -s ../../../log listAll - Restart the jboss instance
- The logs will be available at this url http://myHost:8080/log/listAll
Links
Enable symlinks
Enable directory browsing