Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent log4j2.isWebapp from overriding other constants #2517

Merged
merged 5 commits into from Apr 26, 2024

Commits on Apr 25, 2024

  1. 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.
    ppkarwasz committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    644b629 View commit details
    Browse the repository at this point in the history
  2. Improve log4j2.isWebapp documentation

    Co-authored-by: Volkan Yazıcı <volkan@yazi.ci>
    ppkarwasz and vy committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    cfbd731 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1a88ef3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    51d0fb3 View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2024

  1. Configuration menu
    Copy the full SHA
    ce46f2e View commit details
    Browse the repository at this point in the history