diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2020-04-27 16:50:16 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2020-04-27 16:50:16 +0300 |
commit | 3ababf4edb89be0b164d8e9cb1cad5b009de9778 (patch) | |
tree | 9e70971c38ff9b402b02708bbce5a9f9fdeccef3 /doc | |
parent | 9dff021e31a300dcd5eda941d9e4992a6a8e465a (diff) | |
download | wydawca-3ababf4edb89be0b164d8e9cb1cad5b009de9778.tar.gz wydawca-3ababf4edb89be0b164d8e9cb1cad5b009de9778.tar.bz2 |
Replace the "finish" event with "statistics".
Diffstat (limited to 'doc')
-rw-r--r-- | doc/wydawca.texi | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/doc/wydawca.texi b/doc/wydawca.texi index 7eac388..349d9ba 100644 --- a/doc/wydawca.texi +++ b/doc/wydawca.texi @@ -2543,10 +2543,17 @@ uploader. detailed description. @kwindex finish -@item finish - This event is reported at the end of the wydawca job, when all -spools have been processed. It is normally used to produce final -statistic reports. @xref{statreports}, for an example. +@kwindex statistics +@item statistics + This event produces statistics about the recent jobs performed +by @command{wydawca}. In daemon mode, it is scheduled periodically +as controlled by @code{stat-report-interval} statement. In cron mode +it is emitted when all spools have been processed. + +For compatibility with @command{wydawca} versions prior to 3.1.95, the +event name @samp{finish} can be used instead of @samp{statistics}. + +@xref{statreports}, for an example. See also @ref{mod_logstat}. @end table @end deffn @@ -2794,7 +2801,7 @@ following statement: @smallexample notify-event @{ - event finish; + event statistrics; module mailutils; @} @end smallexample @@ -3201,7 +3208,7 @@ module-init mailutils @{ @} notify-event @{ - event finish; + event statistics; module mailutils; @} @@ -3247,7 +3254,7 @@ The simplest configuration for this module is: module logstat mod_logstat.so; notify-event @{ - event finish; + event statistics; module logstat; @} @end group @@ -3257,7 +3264,7 @@ This will produce on the default logging channel the detailed statistics, as discussed in @ref{statistics}. There is no specific @code{module-init} statements. The module should -be called from @code{notify-event} block on the @samp{finish} event. +be called from @code{notify-event} block on the @samp{statistics} event. The module's @code{module-config} statement can contain the following statements: |