- Live streaming of logs
- The feeds will refresh in every 1 sec.
- Multiple users can access the logs at the same time. (synchronization)
- The previous logs will not be lost ,if new logs are added
- Extract the folder LogReader.rar
- Open the LogReader->target, Copy the LogReader.war file.
- Open Tomcat->webapps, paste the war file here.
- Open conf folder in tomcat.
- Paste the sysLogs.log and temp.txt files here.
- Open catalina.properties, paste these 2 lines there,
- spring.config.location=C:/Tomcat 8.0 - COGS/conf/sysLogs.log
- tempFile.location=C:/Tomcat 8.0 - COGS/conf/temp.txt Here change the path to that of your tomcat.
- Open bin folder in tomcat. Run startup.bat to run the server.
- On the browser hit the url
- http://{server}:{port}/LogReader/rest/service/landing
You can see the streaming of logs here. Change the sysLogs.log file and save to see the changes on browser.
Note: Refresh time is set as 1 sec.