Accessing Logs
You have access to several types of logging from sites on Altis have following logs available:
- PHP Error log (two week retention)
- Nginx Error log (two week retention)
- WordPress Cron task logs (via Cavalcade, indefinite retention)
- Email logs (one month retention)
- Access logs (via a custom REST API endpoint, indefinite retention)
The logs can be viewed via Altis Dashboard under a site’s Logs tab.
![[[Screenshot of PHP log details]]](../../../images/cms/cms-image-9fbc073e48a9bda6ef2d56fecbe3d3da.png)
The date range can be specified for all logs types. Some log types will also support additional filtering such as cron logs.
![[[Screenshot of a logs filter being applied]]](../../../images/cms/cms-image-de7a7a0fb13e74f537d450eaa7cc98d9.png)
Log Delivery
Log delivery to CloudWatch can be switched off, however this is not recommended as logs will not be available in the Altis Dashboard.
{
"extra": {
"altis": {
"modules": {
"cloud": {
"php-errors-to-cloudwatch": false
}
}
}
}
}