Question

Can you get server logs from a static page?

I like the app platform, and I’d also like to host a static page. This is possible, but I just noticed that the server logs of the files being served don’t appear. Is this a feature for the future? Is there another way to host static files and still be able to see the serverlogs? I guess I could host it in a Docker container, but I’m wondering if that’s the most performant way.


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.

Accepted Answer

👋 @cantdutchthis

Currently there are no server logs for static sites. Because static sites are distributed to our CDN endpoints, there are many servers in many regions.

However, your apps Insights tab shows aggregated details on metrics like latency and status codes which should be helpful.

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.