阅读背景:

如何强制(或解决)logrotate将旧日志移动到不同物理磁盘上的olddir?

来源:互联网 

I want logrotate to copy and truncate log file and use olddir on different physical disk. According to manual, olddir can't be on different physical disk because default behaviour of logrotate is to only rename original log file, which wouldn't be possible with different physical disk. to copy and truncate log file




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: