winstonjs / winston-daily-rotate-file

A transport for winston which logs to a rotating file each day.
MIT License
889 stars 151 forks source link

Add doc: explain which files will be deleted when the `maxFiles` parameter is set #326

Closed polunzh closed 2 years ago

polunzh commented 3 years ago

This will make it less confusing for developers.

polunzh commented 3 years ago

Like file-stream-rotator did: https://github.com/rogerc/file-stream-rotator/blob/master/README.md

image

wbt commented 2 years ago

Does that commit close this issue?

mattberther commented 2 years ago

Does that commit close this issue?

Yes. The commit was merged, and the updated text is visible on README.md.