Common log locations
Below is a list of the common Cito logfiles you may need to utilise, including the path to use and the default retention.
Type | Retention (days) | Location |
---|---|---|
Nginx Access Logs | 14 | /var/log/nginx/<domain> .log |
Nginx Error Logs | 14 | /var/log/nginx/<domain> .err |
PHP-FPM Errors | 12 | /var/log/php<version> .log |
MySQL Errors | 7 | /var/lib/mysql/<server-hostname> .err |
Each individual domain has its own access and error logs for ease of reference.
PHP Error logs
PHP errors are logged to the file error_log
in the directory they were generated in (e.g. public_html
).