- Put the .cloud66 directory into the root of your project
- Update the variables in papertrail.sh to match your Papertrail configuration (as shown on Log Destinations).
- Add/modify any logs you would like to track in papertrail.sh
- Update the
initd_url
line in papertrail.sh to the most recent version. - Deploy
If you're deploying a new stack, you're done.
Because the deploy_hook
is only triggered on initial build, you'll have to run the commands from deploy_hooks.yml manually.
After deploying with the .cloud66
folder, ssh into your machines and run these commands:
sudo mv "$RAILS_STACK_PATH/.cloud66/papertrail.sh" /tmp/papertrail.sh
sudo bash /tmp/papertrail.sh $STACK_BASE
=====
More information available on papertrail support