On this page
Access logs versus application failures
An HTTP access line records a request and its response code. A 200 generally means that request succeeded; a 404 for an unknown path means that path was not found. Application stack traces, bind errors, missing dependencies and memory-limit exits need separate investigation.
Public websites receive automated requests for .env, .git, backups and framework paths. A rejected request alone does not prove that a file existed or that the site was compromised. Do not upload secrets into public directories in the first place.
The gateway address can appear as the client
Your application may see the shared gateway address in its access log because requests pass through the website gateway. That does not establish that the gateway itself originated every request. Use framework proxy settings carefully if you need the original client address.
Keep logs useful
- Look at the first error before repeated restart messages.
- Use timestamps and the exact affected hostname.
- Reduce unnecessary debug logging in a production app.
- Rotate or limit application log files so they do not fill your storage quota.
- Do not share tokens, cookies, passwords or visitor data in public support messages.