ramanathan1504 commented on code in PR #4234: URL: https://github.com/apache/logging-log4j2/pull/4234#discussion_r4408852742
########## src/changelog/.2.x.x/4234_native_compression_levels.xml: ########## @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<entry xmlns="https://logging.apache.org/xml/ns" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://logging.apache.org/xml/ns https://logging.apache.org/xml/ns/log4j-changelog-0.xsd" + type="changed"> + <issue id="4234" link="https://github.com/apache/logging-log4j2/pull/4234"/> + <description format="asciidoc"> + Use native compression levels: explicit `-1` selects Zstd fast compression, while BZip2 falls back to `9` with a warning. + For omitted levels, strategy getters return `Integer.MIN_VALUE` instead of `-1`; compression uses the format default. Review Comment: ```suggestion Use each compressor's native compression levels, falling back to the format default with a warning for unsupported values. ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
