Wydawca |
|
Release Submission Daemon |
Sergey Poznyakoff |
mod_logstat
– statistics loggingThe module mod_logstat
logs the supplied message at the
‘statististics’ event.
The simplest configuration for this module is:
module logstat mod_logstat.so; notify-event { event statistics; module logstat; }
This will produce on the default logging channel the detailed statistics, as discussed in statistics.
There is no specific module-init
statements. The module should
be called from notify-event
block on the ‘statistics’ event.
The module’s module-config
statement can contain the following
statements:
Configures what statistics items should be included in the output. See statistics, for a detailed discussion of list.
This statement is ignored if the message
statement is present.
Specifies the message to be logged. The text argument can contain references to statistic variables (see statistic variables).
If no message
statement is present, the following default is
assumed:
message <<EOT errors: ${stat:errors} warnings: ${stat:warnings} bad signatures: ${stat:bad_signatures} access violation attempts: ${stat:access_violations} complete triplets: ${stat:complete_triplets} incomplete triplets: ${stat:incomplete_triplets} bad triplets: ${stat:bad_triplets} expired triplets: ${stat:expired_triplets} triplet successes: ${stat:triplet_success} files uploaded: ${stat:uploads} files archived: ${stat:archives} symlinks created: ${stat:symlinks} symlinks removed: ${stat:rmsymlinks} check failures: ${stat:check_failures} EOT;
This document was generated on January 6, 2021 using makeinfo.
Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.