Symptoms
The Logs tab of an app or a server shows one of these messages instead of useful lines:
- "The server returned no log lines."
- "Logs can be read only while the app is running."
- "Logs are busy at the moment. Try again shortly."
- "We could not read the logs. Try again."
- "No recent lines contain ..." after you used Show lines containing.
- You do not see a Logs tab at all.
Cause
Logs are read live from your server each time you open the tab. Nothing is stored by us. So the answer depends on the app and the server at that moment:
- A new or quiet app may not have written anything yet.
- A stopped app has no running output to read.
- To protect the server, only a few log requests can run at once, and each scan is limited in size and time.
- If the server is stopped or not reporting, it cannot answer.
- The filter is an exact text match. A typo or different capital letters can match nothing.
- The tab is shown only to the owner, admin and developer roles.
How to fix
- "No log lines": open your site to create some activity, then press Refresh.
- "Only while the app is running": press Start or Restart on the app, then open the logs again.
- "Logs are busy": wait a short time, then press Refresh.
- "Could not read the logs": check the server's status. If it is Stopped, start it. If it is not reporting, see Server is not reporting. Then try again.
- Filter finds nothing: use a shorter word, check its spelling and its capital letters, or clear the filter.
- No Logs tab: ask an owner or admin of your organisation to give you the developer role, or to read the logs for you.
When to raise a ticket
Use Raise a ticket on the Support page if logs cannot be read for a running app on a running server. Include the app name, the server name, the exact message and the time.
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.