With Copilot
Acquia Copilot is a conversational AI connected into our product documentation and knowledge base. Ask Copilot about product features, technical details, troubleshooting and how to get started with Acquia products.
Sign in to use Acquia Copilot
Besides downloading log files from the Cloud Platform interface or accessing logs using command-line tools, you can also stream logs in real time using the Cloud Platform interface on the Applications > [Environment] > Logs page. The Logs page stream shows log entries from all the logs of an environment at once. In contrast, each of the log files you can download shows a single log from an infrastructure (aside from the Drupal watchdog log and the MySQL slow query log).
There are several methods you can use to modify which log entries are streamed:
Click Stream to select which logs are the source of log entries to be streamed. By default, the PHP error and Apache error logs are enabled.
To download a log file, select Logs > Download. For more information, see Downloading active log files.
Log entries are displayed with different colored bars at the left margin:
| Log source | Bar color |
|---|---|
| Apache error | Red |
| Apache request | Yellow |
| Balancer request | Green |
| Drupal request | Yellow |
| MySQL slow query | Red |
| Node.js error | Red |
| PHP error | Red |
| Varnish® request | Green |
In addition to streaming logs on the Logs page, you can use the Logstream Ruby gem, which provides a client-side API library and command-line interface. Learn more about how to install and use Logstream.
If this content did not answer your questions, try searching or contacting our support team for further assistance.
If this content did not answer your questions, try searching or contacting our support team for further assistance.