Skip to content

Commit 7fd5ea8

Browse files
committed
Added adv. access log format for php-fpm
Now with request time, memory and cpu usage
1 parent 4e03564 commit 7fd5ea8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docker/main/entrypoint.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ pm.max_spare_servers = 3
6464
6565
catch_workers_output = yes
6666
67+
access.format = \"%R - %u %t \\\"%m %r%Q%q\\\" %s %f cpu:%C%% mem:%{megabytes}M reqTime:%d\"
6768
access.log = /tmp/php.access.log
6869
slowlog = /tmp/php.slow.log
6970
request_slowlog_timeout = 30s

0 commit comments

Comments
 (0)