ark::logging::LogCleanerStage
Defined in header “ark/logging/stages/log_cleaner_stage.hh”.
This stage will periodically run a routine that analyzes the amount of disk space consumed by logs and execute a “free” routine to clean up the files. It can be used to ensure there is always disk space free on your robot to take logs.
Methods
-
LogCleanerStage(std::string name)
Constructor. -
~LogCleanerStage()
Destructor. -
void initialize(pipeline::StageInterface & interface)
Called from the executor when we are initialized. -
void start()
Indicates that the system has settled and you should begin any threads or processing. -
void shutdown()
Stops the log cleaner, shutting down all threads.