package
Version:
v3.26.152
Opens a new window with list of versions in this module.
Published: Apr 21, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
RotateOutput spec触发时,备份并清空传参output对应的文件.
PS:
(1) 缺陷: 可能会丢部分输出,目前没啥好的办法解决.
(2) 建议每天一次.
(3) 不能将nohup.out重命名然后再新建个nohup.out,因为输出还是会到原先那个nohup.out中.
@param output 控制台输出文件(e.g.nohup.out)的路径
@param backDir 备份文件存放的目录
Source Files
¶
Click to show internal directories.
Click to hide internal directories.