Hi all,

Commons Compress offers a lot of algorithm specific parameters like
`GzipParameters`[1].

While revamping the compression subsystem of the rolling appender in
PR #2921[2], we were wondering if the Log4j community needs to tweak
these parameters or is satisfied with using the default values.
If this is the case, we are open to contributions that make
compression more configurable.

Such a feature would probably require changes not only to Log4j, but
also to Commons Compress, to make those parameters more easily
accessible to Log4j developers.
If you find this feature interesting, can you explain your use case?

Our working assumption is that this kind of tweak is not generally
useful and we are thinking about deprecating the `compressionLevel`[3]
configuration attribute of rollover strategies and removing it in 3.x.

Piotr

[1] 
https://javadoc.io/doc/org.apache.commons/commons-compress/latest/org/apache/commons/compress/compressors/gzip/GzipParameters.html
[2] https://github.com/apache/logging-log4j2/pull/2921
[3] 
https://logging.apache.org/log4j/2.x/manual/appenders/rolling-file.html#RolloverStrategy-attr-compressionLevel

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org
For additional commands, e-mail: log4j-user-h...@logging.apache.org

Reply via email to