nssm不旋转输出文件

时间:2018-11-30 10:22:36

标签: nssm

我正在使用以下参数创建Windows服务。但是,nssm不会旋转输出文件:

AppRotateFiles 1(enables file rotation)

AppRotateOnline 0

AppRotateSeconds 86400 (time between rotation)

AppRotateBytes 1048576 (file size threshold to rotate the file)

1 个答案:

答案 0 :(得分:-1)

未启用在线旋转时,NSSM仅在服务启动时旋转文件。如果您只运行它,它将什么都不做。