I installed a software In my Ubuntu system . It will write and update logs on /var/log/my_software/logs.txt
. My aim is to print this logs on a web page . I am using Apache web server .
I am printing the logs with tailf /var/log/my_software/logs.txt
command . Now i want to show this logs inside a DIV in HTML file
. Also i want to update this logs every time when my software update it's logs .
Which method should i choose for implementing this concept ? I am not using PHP in my web server . I am comfortable with Ajax or Jquery
.
Any suggestions or useful links , code stubs ?