This module implements utime and stime logging using %{format}z
format string for LogFormat and CustomLog directives.
Supported format tokens are:
utime: number of microseconds spent executing in user modestime: number of microseconds spent executing in kernel mode
Install apache2 and apache2-dev packages and run make
Run make install or copy .libs/mod_log_rusage.so to modules directory
and put the following line in your apache24.conf:
LoadModule log_rusage_module modules/mod_log_rusage.so
Example configuration:
LogFormat "%V %a %l %u %t \"%r\" %>s %b %D %{utime}z:%{stime}z" combined_plain