Quick Start # Rotate a log file right now python logrotator.py rotate /path/to/app.log # Add to automatic rotation (10 MB limit, keep 5 backups) python logrotator.py config add /path/to/app.log ...
rotating_file_sink(filename_t base_filename, std::size_t max_size, std::size_t max_files, bool rotate_on_open = false); const std::string &logger_name, const filename ...