You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// frequency workconsttransport=newwinston.transports.DailyRotateFile({filename: application-%DATE%.log,datePattern: 'YYYY-MM-DD_HH-mm-ss',frequency: '3600s',zippedArchive: true,maxSize: '30k',maxFiles: '14d'});
but this won't
// frequency not workconsttransport=newwinston.transports.DailyRotateFile({filename: application-%DATE%.log,datePattern: 'YYYY-MM-DD_HH-mm-ss',frequency: '1h',zippedArchive: true,maxSize: '30k',maxFiles: '14d'});
and if log file reaches maxSize , after archived , the new log filename will be exactly "application-%DATE%.log"...
so weird ...
on the other hand, the maxSize should be "1k" not "1kb"
As expected even if size of log is > 1kb it is not rotated. Even freqeuncy is not working .
The text was updated successfully, but these errors were encountered: