Skip to content

Disable PHP-FPM access log in stdout? #541

@andeersg

Description

@andeersg

I'm using the php-nginx image and when I look at the log output I see duplicate lines for each request:

2025-03-09T09:33:34.014275652Z 10.42.6.148 - - [09/Mar/2025:09:33:34 +0000] "HEAD / HTTP/1.1" 200 0 "https://example.com/" "Mozilla/5.0+(compatible; UptimeRobot/2.0; http://www.uptimerobot.com/)"
[php-fpm:access] 127.0.0.1 -  09/Mar/2025:09:33:31 +0000 "HEAD /index.php" 200 /var/www/html/web/index.php 2937.938 28672 27.91%

Is there a way to easily disable the last one of those?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions