Description: Real time directly in the browser to view and download servers running logs?
Just a few simple steps:
First, the project labeled as war package, change the war package under WEB-INF \ classes \ logFile.prop files, fill the log path server, provided that they meet the Name = path format can be. As logfile = E: /logs/XXXX.log
Second, the release LogMonitor.war service.
Third, access http://127.0.0.1:7001/LogMonitor will be able to enter something like the following screen:
To Search:
File list (Check if you may need any files):
LogMonitor\.classpath
..........\.mymetadata
..........\.project
..........\src\com\ygsoft\common\Log\ChatRoomServlet.java
..........\...\...\......\......\...\FileUtil.java
..........\...\...\......\......\...\LogMonitor.java
..........\...\...\......\......\...\Message.java
..........\...\logFile.prop
..........\WebRoot\index.jsp
..........\.......\META-INF\MANIFEST.MF
..........\.......\WEB-INF\classes\com\ygsoft\common\Log\ChatRoomServlet.class
..........\.......\.......\.......\...\......\......\...\FileUtil.class
..........\.......\.......\.......\...\......\......\...\LogMonitor$1.class
..........\.......\.......\.......\...\......\......\...\LogMonitor.class
..........\.......\.......\.......\...\......\......\...\Message.class
..........\.......\.......\.......\logFile.prop
..........\.......\.......\lib\xalan-2.6.0.jar
..........\.......\.......\web.xml
..........\.......\.......\classes\com\ygsoft\common\Log
..........\.......\.......\.......\...\......\common
..........\src\com\ygsoft\common\Log
..........\WebRoot\WEB-INF\classes\com\ygsoft
..........\src\com\ygsoft\common
..........\WebRoot\WEB-INF\classes\com
..........\src\com\ygsoft
..........\WebRoot\WEB-INF\classes
..........\.......\.......\lib
..........\src\com
..........\WebRoot\META-INF
..........\.......\WEB-INF
..........\src
..........\WebRoot
LogMonitor