Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I just signed up for Papertrail to aggregate logs from some AWS instances I'm setting up with CloudFormation::Init. I've followed the instructions and added *.* @logs.papertrailapp.com to the end of '/etc/rsyslog.conf'. Some logs are showing up on Papertrail, but notably the contents of '/var/log/cfn-init.log' never get there, and those are the ones I'm interested in right now.

Have I set up rsyslog incorrectly? Or do the CloudFormation::Init scripts just not use syslog to write log information?

share|improve this question

1 Answer 1

cfn-init, the Python script which handles CloudFormation::Init, writes logs directly to disk. There doesn't appear to be any way to configure it to use syslog.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.