3.119. <StatsLog FILE> Previous topic Parent topic Child topic Next topic

This clause logs statistics from all Radiator internal objects to a flat file. There is an example configuration file in goodies/statslog.cfg.
In StatsLogFILE, the specified filename is opened every Interval seconds, and the statistics for each object are logged, one line per object. An optional header line is also logged. For each object logged, the log contains a timestamp (in seconds since 1970), the type of the object and a unique identifier, if available, followed by the value of each statistic in alphabetical order by their symbolic name (see Table 10. Statistics collected within Radiator and usage in Format parameter). It will use the Identifier field of available, otherwise the object Name.
Statistics for the server as a whole (ServerConfig) will be logged first, followed by each Client, each Realm, each Handler. Within each Realm and Handler, each AuthBy used by that clause will be logged (recursively for AuthBy GROUP). Within any AuthBy RADIUS, statistics for Host clauses will be logged. You can find an example of the log format in goodies/statslog.cfg.