Using the below LogFormat
:
LogFormat "%h %l %u %t \"%r\" %>s %b php(%{mod_php_memory_usage}n)" vhost_combined_memory
Apache does not seem to output the memory used by PHP for each request:
IP - - [04/Feb/2014:23:22:49 +1300] "GET /icinga-web/modules/cronks/statusOverall/json?_dc=1391509810557 HTTP/1.1" 200 554 php(%zu)
IP - - [04/Feb/2014:23:22:50 +1300] "GET /icinga-web/modules/cronks/monitorPerformance/json?_dc=1391509810614 HTTP/1.1" 200 378 php(%zu)
IP - - [04/Feb/2014:23:23:49 +1300] "GET /icinga-web/modules/appkit/servertime HTTP/1.1" 200 33 php(%zu)
Instead of a number, %zu
appears.
Is there a change I can make on the server to cause this datum to properly appear in my logs?