qzind / tray

Browser plugin for sending documents and raw commands to a printer or attached device.
https://qz.io
Other
842 stars 274 forks source link

Cleanup old ".1", ".2" log files #1196

Closed tresf closed 11 months ago

tresf commented 11 months ago

In QZ Tray 2.2.2 and older log files would be named debug.log.1, debug.log.2, etc.

Since #1160, QZ Tray generates logs in the format: debug.1.log, debug.2.log, etc.

Is there an easy way to cleanup the old ones on rotation?