Skip to content

Instantly share code, notes, and snippets.

@gardym
Created April 26, 2012 02:40
Show Gist options
  • Save gardym/2495310 to your computer and use it in GitHub Desktop.
Save gardym/2495310 to your computer and use it in GitHub Desktop.
rsyslog.d/90-heroku.conf for capturing Heroku drains
:syslogtag, contains, "app[web.1]" /var/log/heroku/web.1.log
:syslogtag, contains, "app[web.2]" /var/log/heroku/web.2.log
:syslogtag, contains, "app[web.3]" /var/log/heroku/web.3.log
:syslogtag, contains, "app[web.4]" /var/log/heroku/web.4.log
:syslogtag, contains, "heroku[router]" /var/log/heroku/router.log
:syslogtag, contains, "run" /var/log/heroku/run.log
:inputname, isequal, "imtcp" /var/log/heroku/all.log
@atrepca
Copy link

atrepca commented Mar 8, 2013

Might want to add '& ~' after each line so that messages don't flood /var/log/messages anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment