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
Answer a question...

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.

Jon Friesen
DigitalOcean Employee
DigitalOcean Employee badge
August 15, 2022
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.