HP WebQoS Peak for HP-UX Concepts and Operation Guide
Chapter 5 55
HP WebQoS Peak for the Apache Web Server
Integrating HP WebQoS with the Apache Web Server
HPACDeferralEnterMsg Time left:
Logging HP WebQoS Information
Saving Information to the Server Access Log HP WebQoS
admission decisions can be saved to the server's access log, by adding the
“%{HPAC}n” format option to the LogFormat directive. For example:
LogFormat %h %l %u %t \%r\ %>s %b %{HPAC}n
The effect of this option is to append one of the words listed below to the
log message:
Logging Statistics to a File The statistics displayed on the HP
WebQoS Statistics web page can be logged to a file. You can turn on
statistics logging with the HPACStatsLogging directive. The default for
this directive is “off.” For example:
HPACStatsLogging on
In addition, you can specify the time interval between log updates with
the HPACLogUpdateInterval directive. The default for this directive is
“300” seconds. You can specify the log file with the HPACStatsLogfile
directive.
For example, to specify that the log file
apache_home
/var/log/stats.hpac is updated every 600 seconds, use
the following directives:
HPACLogUpdateInterval 600
HPACStatsLogfile var/log/stats.hpac
The log update interval has to be a multiple of 5 seconds. For example, if
you set the interval to 1 second, the update will take place after 5
seconds. If you set the interval to 7 seconds, the update will take place
after 10 seconds.
rejected The request was rejected
basic The request was processed as part of a basic priority session
priority The request was processed as part of a high priority session
deferred The request was deferred to a future time slot
redirected The request was redirected to another server