Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-1623

Configurable JVM shutdown hook timeout

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.7
    • Fix Version/s: 2.8
    • Component/s: Configurators, Core
    • Labels:
      None

      Description

      Now when it is possible to specify timeout when stopping a LoggingContext (LOG4J2-1539), it would be nice to be able to configure the timeout for the JVM shutdown hook (currently zero).

      This is a new top-level attribute in the configuration: "shutdownTimeout".

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mikaelstaldal Mikael Ståldal
                Reporter:
                mikaelstaldal Mikael Ståldal
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: