标签:logrotate

logrotate

  • man logrotate

如上强制logrotate ,执行以下步骤。

  • 重命名当前日志

  • 压缩文件

默认的文件已经不在了。