Symptoms
- You want to see what happened yesterday or last week, but the Logs tab shows only recent lines.
- The tab says "Showing the latest lines only. Earlier lines are not shown." or "The search stopped before the end. Only part of the log was searched."
- You want to download your logs.
Cause
The Logs tab does not show a stored history. Each time you open it or press Refresh, the console asks your server for the latest lines of that app's output:
- You see up to the latest 200 lines.
- When you type text in Show lines containing, your server searches the latest part of the log, never more than the last 7 days, and returns up to 200 matching lines. A very large log is searched only in part.
- "We do not keep a copy of these lines." The console does not store your application logs, so there is no older history to open and nothing to download.
How to fix
- To find an older event, type a word from it in Show lines containing, for example
erroror part of a page address. This searches further back than the latest 200 lines. - If you see "The search stopped before the end", the log is very large and only its latest part was searched. Reproduce the problem and search again straight away, so the lines you need are near the end.
- To catch a problem as it happens, open the Logs tab, reproduce the problem in your app, then press Refresh.
- To keep lines, select them on the page and copy them into a file or your notes. There is no download or export button.
When to raise a ticket
Use Raise a ticket on the Support page if you need help finding log lines for an incident. Include the app name, the server name and the date and time (UTC) of the event.
Before you paste log lines, remove passwords, keys and personal data. Never include passwords, private keys or API keys.
Was this helpful?
Still need help?
24/7 support from our team. Sign in to the console to raise a ticket about this.