A powerful and customizable logging library for node.js
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
SHuckel opened this issue 6 years ago · comments
That should do the trick in dailyfile.js:
spawn('forfiles', ['/P', '"' + _conf.root + '"', '/D', '-' + _conf.maxLogFiles, '/M', '*.log', '/C', '"cmd /C del @fname.@ext"'], {windowsVerbatimArguments: true});
Very nice module by the way :)