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)