Log4php
  1. Log4php
  2. LOG4PHP-43

Remove size restriction of MDC table in LoggerMDC

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0
    • Component/s: Code
    • Labels:
      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).

      1. 43-LoggerMDC.patch
        0.8 kB
        Knut Urdalen

        Activity

        Hide
        Christian Grobmeier added a comment -

        fixed with rv 795658

        Show
        Christian Grobmeier added a comment - fixed with rv 795658

          People

          • Assignee:
            Knut Urdalen
            Reporter:
            Knut Urdalen
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development