I'd like to have a separate production log for each deployment to make troubleshooting easier if we run into issues and need to revert to an earlier build. If we make log a linked directory, there will only be one shared production log and tracking down issues with a particular deployment will be more difficult. I'd prefer to have separate resque logs too, but I have not been able to make that work without manual intervention.

On Dec 4, 2013, at 9:53 AM, Justin Coyne wrote:

> In config/deploy.rb:
> 
> > @@ -13,16 +13,15 @@
> >  
> >  set :assets_prefix, '#{shared_path}/public'
> >  
> > -# set :linked_files, %w{config/database.yml}
> > -# set :linked_dirs, %w{bin log tmp/pids tmp/cache tmp/sockets vendor/bundle public/system}
> > +set :linked_files, %w{config/database.yml config/devise.yml config/fedora.yml config/recipients_list.yml config/redis.yml config/resque_pool.yml config/solr.yml config/initializers/secret_token.rb config/initializers/resque_config.rb log/resque-pool.stderr.log log/resque-pool.stdout.log}
> Don't put the log/resque-pool.stderr.log log/resque-pool.stdout.log in this list either. Instead log should be a linked directory.
> 
> —
> Reply to this email directly or view it on GitHub.
>