title: Can I make Rundeck read a log file on the remote node as job output?
body: <p>I'm using Rundeck to run remote jobs through the SSH executor. Some of the jobs I run log to specific files on the host, rather than STDOUT, and I don't have the ability to change this.</p>
  
  <p>Is there any way to tell Rundeck to read those files as they get written (using something like <code>tail -f</code>), and treat what appears there as the job output?</p>
  
  <p>Adding <code>tail -f</code> itself as a step wouldn't work, since it will never terminate. </p>
  
  <p>If need be, a 'hacky' solution will do (like adding extra job steps for copying and reading logs) but ideally I'd like it to be neater. So if you could give me some guidelines how to build a plugin that will take the filename as a parameter and read the output from there, that would be better.</p>