-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Symfony configuration #10
Comments
I would be interested in the same, as well. We're currently using an .ebextensions configuration to stream the Symfony logs to CloudWatch Logs, but it would be beneficial to stream specific log writes to CloudWatch directly. I started following this project with the intent to come back around to just this utilization. |
Hi @vurcease, we figured it out. So in your config.yml you need something like this:
Then in services.yml put this:
In addition to this package you also need this:
Hope this helps. |
Hi!
is not needed, AWS SDK is already required by library. |
You're right @maxbanton ! Thanks for the nice lib btw 🥇 🍻 |
@nennad you are welcome! |
Would love to see the example upgraded so that an additional file handler would also keep the logs in case there were some connection issues with CloudWatch. |
@mikemix I think the standard grouping mechanism would work fine.
|
Omg, I thank u so much. This solved this issue for me so fast. Thought that will be hard work. But its was a joke so easy ;)! Thanks Guys. |
Note that the above configuration only logs the 'errors' or 'critical' logs to CloudWatch. if you want to log debug and notice levels too, change. to:
|
Hi there,
We would like to use this package in our Symfony project. Is there a chance that you have an example configuration for Symfony?
Many thanks!
The text was updated successfully, but these errors were encountered: