ark::logging::LogCleanerFilter

Defined in header “ark/logging/log_cleaner.hh”.


The filter for cleaning logs. This allows you to setup the rules by which files are removed.

Variables

  • uint64_t bytes_to_remove= 0
    The number of bytes that has to be removed. More bytes then this may be removed, depending on the structure of logs and files.

  • std::chrono::nanoseconds minimum_file_age= std::chrono::seconds{0}
    The age of a file before it will be considered for removal. Set to zero to disable age checks.

  • std::set< core::Guid > manifest_allow_list
    If non-empty, only the specified manifests will be considered for removal.