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