Question

Laravel App Platform - Application Logs?

I have trying to assess if we can utilise App Platform for our production environment.

We are currently using AWS with a autoscaling beanstalk configuration for Laravel, I think the move to App Platform would give us the simplicity we desire.

However, it seems we have a few things missing for a full production environment. Mostly logging…

For those using App Platform how are you managing your application logs?

Bonus points - anyone got any resources showing how autoscaling (horizontal) works without me going and setting it up?


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

I would suggest to use different log channel of Laravel, avoiding default file system logging, as it will be cleared at every deployment, and may split up between pods when comes to scaling. You could create a logger for example using the Digital Ocean spaces block storage, which is cheap and fast, or utilize MongoDB, or external logging provider like DataDog, This has not much to do with APP platform, this is provided by Laravel framework.

been using logtail.com for logging for a while now and it’s amazing