<?xml version="1.0" encoding="UTF-8"?>
<wiki>
  <body>&lt;p&gt;You&amp;#8217;ll need to copy logcopy.rb to your deployer user&amp;#8217;s home directory. Where I have my apps hosted, I have the logs roll with a date format like .yyyy.mm.dd-blah, and the logcopy.rb will allow you to specify how many days back you&amp;#8217;d like your logs to run.&lt;/p&gt;
&lt;p&gt;Also, copy the cap task in harvest_logs.rb to your deploy.rb, and you&amp;#8217;ll be able to run cap harvest_logs. You&amp;#8217;ll want to make changes to the directory structure in harvest_logs and logcopy if you&amp;#8217;re using something other than /var/www/apps/appName/current&lt;/p&gt;</body>
  <created-at type="datetime">2008-09-06T08:04:44-07:00</created-at>
  <id type="integer">53143</id>
  <permalink>harvest-logs-from-several-servers</permalink>
  <repository-id type="integer">26236</repository-id>
  <title>Harvest Logs from Several Servers</title>
  <updated-at type="datetime">2008-09-06T08:04:44-07:00</updated-at>
  <user-id type="integer">8867</user-id>
</wiki>
