title: Streaming log files to remote client
body: <p>I have a Java app running on a remote server (debian linux). The app logs runtime informations to files.</p>
  
  <p>Once in a while, the support needs to analyze the logs using a client tool (not running on the server, but on the support's desktop). The tool then needs remote access to</p>
  
  <ol>
  <li>old log files on the server</li>
  <li>the current log file (growing in real time)</li>
  </ol>
  
  <p>I'm searching a good (=standard, flexible, secure, well debugged etc) way to stream these past and present log messages to my client tool.</p>
  
  <p>How would go about doing this? </p>
  
  <p>Does a library exist, which provides this service?</p>
  
  <p>Can syslog be adapted to do this?</p>
  
  <p>Edit: For privacy reasons, the log files should be stored on the remote server only and not generally sent to a central logging service.</p>