ArchiveHandler
Write the collected stats to a locally stored log file. Rotate the log file every night and remove after 7 days.
Options
Setting | Default | Description | Type |
---|---|---|---|
days | 7 | How many days to store | int |
encoding | None | NoneType | |
get_default_config_help | get_default_config_help | ||
log_file | Path to the logfile | str | |
propagate | False | Pass handled metrics to configured root logger | bool |
rollover_interval | 1 | rollover interval length | int |
server_error_interval | 120 | How frequently to send repeated server errors | int |
when | midnight | type of interval; S, M, H, D, Weekday, midnight | str |