How does logging behave differently in Cloud Next?
On Acquia’s Cloud Classic infrastructure, you have access to the /var/log/sites
directory to view environment log data and store custom logs. On average, these logs remain available for weeks or months at a time, but would be lost whenever infrastructure was relaunched during maintenance events, sometimes limiting the historical data available.
Since Cloud Next leverages ephemeral containers and pods, the same methodology is not available for upgraded environments. Hence, you must configure your custom logs to be stored in an alternative location: /shared/logs
. Hence, you must access historical logs for your environments using an alternative method such as Acquia CLI.
For this reason, Acquia has updated the Download Logs functionality in the Cloud Platform user interface and Cloud API v2. Prior to this update, you could only download logs for the current day. However, with this update, you can select a day or time period over the past 30 days. You can download logs of up to 24 hours. This enhancement not only makes log access easier but also ensures that your logs persist even after maintenance events.
Did not find what you were looking for?
If this content did not answer your questions, try searching or contacting our support team for further assistance.