Uploaded image for project: 'Log4php'
  1. Log4php
  2. LOG4PHP-43

Remove size restriction of MDC table in LoggerMDC

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.0.0
    • Code
    • None

    Description

      The mapped diagnostic context is currently allowed to only store 7 context variables. Even though this should be enough in most cases, why should we do a hard limit here? Also checked MDC.java in log4j and there it seems only to be used for initializing the initial size of the HashTable which is used as storage (not limiting to how many context variables you are allowed to store).

      Attachments

        1. 43-LoggerMDC.patch
          0.8 kB
          Knut Urdalen

        Activity

          People

            kurdalen Knut Urdalen
            kurdalen Knut Urdalen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: