Am 24.05.23 um 15:25 schrieb Christoph Anton Mitterer:
On Wed, 2023-05-24 at 15:19 +0200, Michael Biebl wrote:
Sorry, I meant: It (the expresssion like /var/log/lpr.log.*) only matches rotated files, but not the actual log file itself.But for that I would have had both: /var/log/mail.{info,warn,err} /var/log/lpr.log /var/log/{messages,debug,daemon.log} /var/log/mail.{info,warn,err}.* /var/log/lpr.log.* /var/log/{messages,debug,daemon.log}.*
Indeed, I overlooked that part.
Anyway... if everyone agrees that we should leave out the rotated files and leave that up to the user (which a note bout that being the case in the release notes)... it would IMO be safer. I could make a PR if desired so.
In the interest of keeping the list of file names short, I wouldn't duplicate them (one with .* and one without). But that's just a personal preference.
OpenPGP_signature
Description: OpenPGP digital signature