Log file compression
Julien ÉLIE
julien at trigofacile.com
Tue Feb 27 21:06:12 UTC 2024
Hi Christoph,
> I looked for all the places that mention gzip, duplicated the
> block, and ended up with modifying [7 files].
> But this feels like going the wrong direction. The zoo of compression
> methods is huge, and next week somebody would ask for lzip or zstd.
I see your point. Yes I agree we should do better than just hard-coding
xz support.
> And from your follow-up, that innshellvars.local idea, I'd call it an
> ugly hack, and I am not that desperate to give it a try :)
:-)
> And by the way, would it hurt a lot to replace the "Z" variable name
> with something like "compress_ext"? While I'm one of those who still
> understand where that comes from - technically it's wrong, and it's
> almost 25 years since I've have last seen .Z files in the wild.
Agreed.
To not forget these points (changing the Z variable name, and adding
native support in scanlogs/news.daily for a run-time configuration of
the compression command to use), I've opened ticket #298, scheduled for
an ulterior release (INN 2.7.3). I'm currently focusing on finishing
the remaining open stuff since the last release; I hope to begin the
release process of INN 2.7.2 in March or April.
--
Julien ÉLIE
« En voyant le lit vide, il le devint. » (Ponson du Terrail)
More information about the inn-workers
mailing list