Log Rotation in Node.js?
In my web analytics, I am logging the data in plain text file. I want to rotate the log on a daily basis because its logging too much data. Currently I am using bunyan to rotate the logs. Problem I am facing It is rotating the file correctly, but rotated log file are in the name log.0 , log.1 , etc. I want the file name to be log.05-08-2013 , log.04-08-2013 I can't edit the source of the bunyan package because we are installing the modules using package.json via NPM. So my question is - Is there any other log rotation in Node.js that meets my requirement? Timothy Strimple Winston does support