coreybutler / node-windows

Windows support for Node.JS scripts (daemons, eventlog, UAC, etc).
Other
2.81k stars 356 forks source link

If there is a way to make the log file a fixed size, for example, 1M. #228

Closed davidzhou123 closed 4 years ago

davidzhou123 commented 5 years ago

if a log file (myservice.log) size is bigger than 1M, then rename it (myservice.log.1), and loging a new file with name myservice.log

coreybutler commented 4 years ago

Log rotation isn't handled by node-windows.