Chapter 49. --stats-archiv

Wojciech Kapcia <> v2.0, June 2014: Reformatted for AsciiDoc. :toc: :numbered: :website: :Date: 2014-06-10 18:21

Default value:

Example: --stats-archiv=tigase.stats.CounterDataFileLogger:stats-file-logger:60,tigase.stats.CounterDataLogger:stats-logger:60

Possible values: comma separated list of statistics archivizers: <class>:<name>:<frequency>

Description: --stats-archiv configuration property allow enabling and configuring components responsible for storing statistic information. As a parameter it takes comma separated list of all archivizers that we want to enable. Each entry follows same pattern: <class>:<name>:<frequency>, where:

Currently following archivizers classess are available:

It’s possible to configure each archivizer by adding following entry to the etc/ file:


For example, if we want to enable CounterDataFileLogger that stores statistics every 60 seconds:


We can configure it further with following options:


which configures accordingly: directory to which files should be saved, filename prefix, whether to include or not unix timestamp in filename, whether to include or not datetime timestamp, control format of timestamp (using java DateFormat pattern) and also set level of the statistics we want to save (using java Logger.Level)

Available since: 5.2.0