I want to display log file in jsf by continuously reading the log file and appending the new lines in jsf view . such that i need to monitor the log file for any new logs and update the JSF page with the new appended lines (Ex:console Display Mechanism in Jenkins).
Note:
- I am using JSF2 + Richfaces 4.3 .
- Reading the log file in Remote machine using ssh .
I would really appreciate any help on this topic .
I have problem in displaying the file , if i refresh the input text area component to reflect the new changes then the whole component get refreshed thus leads to display only the last appended content in view rather than appending the new lines to the previous content (i want to display the log file like if you tail -f log file in command prompt ).