commit | 644b629347961fbdfd263864299f2fc11bd9e642 | [log] [tgz] |
---|---|---|
author | Piotr P. Karwasz <piotr.github@karwasz.org> | Thu Apr 25 13:47:23 2024 +0200 |
committer | Piotr P. Karwasz <piotr.github@karwasz.org> | Thu Apr 25 14:18:15 2024 +0200 |
tree | f7412216f53956312ba3ac43fc2b9fc35fea9894 | |
parent | 9a04f35d1e4348f5767476c3fe250b87e81fda38 [diff] |
Prevent `log4j2.isWebapp` from overriding other constants Currently, if `log4j2.isWebapp` is enabled, the effective values of the following system properties: * `log4j2.enableThreadlocals`, * `log4j2.garbagefreeThreadLocalMap`, * `log4j2.shutdownHookEnabled`. is set to `false`. After this PR: * the above mentioned constants are set to the value **explicitly** set by the user, * if the user didn't provide any value `!log4j2.isWebapp` is used.