Information for: DEVELOPERS   PARTNERS

FPM error logs

The FPM error log (fpm-error.log) records server-level issues with FPM’s process management in PHP. It is closely related to the FPM access log, which records all requests to PHP, and the PHP error log, which records application-level issues encountered while processing a request. The FPM error log only handles web requests; command-line requests are logged in the PHP error log.

For a list of the log files handled by Cloud Platform, including accessing these log files, log file retention, and their locations, see About Cloud Platform logging.

Note for log streaming users

Acquia’s log forwarding feature adds information to the beginning of each line that is forwarded to an external service. For more information, see File formats in forwarded log files.

Parsing the log file

The following line is a representative example of the data written into your website’s FPM error log:

[04-Jan-2017 18:45:13] NOTICE: [pool alphabeta] child 20069 exited with code
0 after 3832.234353 seconds from start

Each of the items in the FPM error log is noted in the following table, along with its description:

Position Data Description
0 [04-Jan-2017 18:45:13] The date and time of the request.
1 NOTICE The issue severity. Possible values include ALERT, ERROR, WARNING, NOTICE, and DEBUG.
2 [pool alphabeta] The FPM pool in which the error occurred.
3 All other information in the line The message, which will vary from line to line.