Created
April 26, 2012 02:40
-
-
Save gardym/2495310 to your computer and use it in GitHub Desktop.
rsyslog.d/90-heroku.conf for capturing Heroku drains
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
: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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Might want to add '& ~' after each line so that messages don't flood /var/log/messages anymore.