Log files track and record your site's activity to help you find, debug, and isolate current or potential problems on your site. Each environment (Multidev, Dev, Test, and Live) has individual log files, which can be obtained via SFTP. Application-level logs can be accessed directly through Drupal. You can use New Relic® Performance Monitoring in conjunction with logs to help diagnose and fix errors and performance bottlenecks.
The server timezone and log timestamps are in UTC (Coordinated Universal Time).
Log files are destroyed during appserver migration (a standard part of regular platform maintenance). Log deletion occurs because the log files are appserver-specific. Consider automating the collection of logs regularly to maintain historical log data.
Fastly on Pantheon provides additional features if you are looking for log or media storage integration solutions.
|error.log||A legacy file that usually advises about an nginx upgrade or modifying server modules.|
|newrelic.log||New Relic log; check if an environment is not logging.|
|nginx-access.log||Up to 60 days of logs||Web server access log. Do not consider canonical, as this will be wiped if the application container is reset or rebuilt. See Parsing nginx Access Logs with GoAccess.|
|nginx-error.log||1MB of log data||Web server error log.|
|php-error.log||1MB of log data||PHP fatal error log; will not contain stack overflows. Fatal errors from this log are also shown in the Dashboard.|
|php-fpm-error.log||1MB of log data||PHP-FPM generated collection of stack traces of slow executions, similar to MySQL's slow query log. See PHP Slow Log|
|mysqld-slow-query.log||10MB of log data||Log of MySQL queries that took more than 120 seconds to execute. Located in the database's |
|mysqld.log||1MB of log data||Log of established MySQL client connections and statements received from clients. Also Located in the database's |
|mysql-bin.0001||MySQL binary logs. Located in the database's |
Rotated log files are archived within the
/logs directory on application containers and database servers. The directory might contain sub-directories for services like Nginx and PHP, or it may log files directly in
/logs For example:
Directly within the