4

I am using the below parameters for creating windows service. However, the nssm is not rotating the output file:

AppRotateFiles 1(enables file rotation)

AppRotateOnline 0

AppRotateSeconds 86400 (time between rotation)

AppRotateBytes 1048576 (file size threshold to rotate the file)
Taher A. Ghaleb
  • 5,120
  • 5
  • 31
  • 44
Amit Nanaware
  • 3,203
  • 1
  • 6
  • 19

1 Answers1

0

Without online rotation turned on NSSM only rotates the files when the service starts. If you just have it running it will not do anything.

Kirill
  • 11