This content has been marked as final.
Show 5 replies
-
1. Jboss Log/JMX
peterj May 13, 2011 9:44 AM (in response to godoy)No, but it is not that difficult to write a servlet that does this.
-
2. Jboss Log/JMX
godoy May 13, 2011 12:33 PM (in response to peterj)you have an example of how to do this with servlet?
-
-
4. Jboss Log/JMX
peterj May 13, 2011 5:28 PM (in response to godoy)I used to have one that did this, but it was ages ago. If I find it I'll post it. But the servlet was very simple: it used the jboss.server.log.dir system property to get to the server/xxx/log directory, and then scanned the directory for log files (you could also just look for "server.log"). Then open it as a file and read it, converting it to HTML to output. The one I had listed the last 100 lines and provided navigation to move forward and backwards through the file (essentially, it took a starting line number and line count as parameters).
-