Why aren't Heroku syslog drains logging to rsyslogd?

Posted by Benjamin Oakes on Server Fault See other posts from Server Fault or by Benjamin Oakes
Published on 2012-06-11T20:57:48Z Indexed on 2012/06/11 22:42 UTC
Read the original article Hit count: 336

Filed under:
|
|
|

I'm having a problem using syslog drains as described in https://devcenter.heroku.com/articles/logging.

To summarize, I have an Ubuntu 10.04 instance on EC2 that is running rsyslogd. I've also set up the security groups as they describe, and added a syslog drain using a command like heroku drains:add syslog://host1.example.com:514.

I can send messages from the Heroku console to my rsyslogd instance via nc. I see them appear in the log file, so I know there isn't a firewall/security group issue.  However, Heroku does not seem to be forwarding log messages to the server that heroku drains lists. I would expect to see HTTP requests, Rails messages, etc.

Is there something else I can try to figure this out? I'm new to rsyslogd, so I could easily be missing something.

© Server Fault or respective owner

Related posts about ubuntu-10.04

Related posts about syslog