title: In Linux, how to save log output to a file after it has been produced?
body: <p>I just ran a Scrapy spider which took about 2 hours to crawl (see screenshot below), but I forgot to use the command-line option <code>--logfile FILE</code> (cf. <a href="https://doc.scrapy.org/en/latest/topics/logging.html#command-line-options" rel="nofollow noreferrer">https://doc.scrapy.org/en/latest/topics/logging.html#command-line-options</a>) to save the logged output to a file. I would still like to do this, however, to track down some of the <code>ERROR</code>s that occurred during scraping.</p>
  
  <p>Is there any way to 'retroactively' do this without re-scraping for another 2 hours?</p>
  
  <p><a href="https://i.stack.imgur.com/uoCwA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uoCwA.png" alt="enter image description here"></a></p>