Перейти к содержанию

config

Использование

log rotate config --dateext true

Описание

Очистка ротированных журналов.

Аргументы

  • --to_file - Redirect output to file (/tmp/cli-stdout.txt).
  • dateext - Use date to compose name of rotated log file or use order number.
  • rotate_every - Rotation period.
  • size_limit - Rotation period.
  • max_size - Maximum size of log file.
  • min_size - Minimum size of log file.
  • rotate - Count of rotated files for file.