DoSomething / infrastructure

🐄 DoSomething.org's infrastructure, managed by Terraform.
MIT License
3 stars 2 forks source link

Set 'LOG_CHANNEL' on our Laravel apps. #265

Closed DFurnes closed 4 years ago

DFurnes commented 4 years ago

What's this PR do?

This pull request sets the LOG_CHANNEL environment variable on our Laravel applications. This is used to configure which "stack" logs are sent to. On Heroku applications, we want to write to the errorlog, which is how Heroku forwards logs to Papertrail.

How should this be reviewed?

👀

Any background context you want to provide?

I applied this change manually earlier this afternoon. This change will apply the same configuration change to our other Laravel applications, in preparation for being updated to Laravel 6.0 this sprint.

Relevant tickets

References Pivotal #173972972.

Checklist