Log4cxx
  1. Log4cxx
  2. LOGCXX-49

Move timezone specification into pattern, remove locale specification

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.10.0
    • Fix Version/s: 0.10.0
    • Component/s: Layout
    • Labels:
      None

      Description

      LOGCXX-11 added the ability to specify a timezone and locale for a layout. The corresponding log4j effort ended up specifying timezone within the pattern and is debating how locale should be handled.

      log4cxx should mimic's log4j's use of %d(pattern){timezone) to specify timezone in a pattern and should defer locale specification until log4j figures it out. In addition, improvments to CachedDateFormat should be brought back to log4cxx.

        Issue Links

          Activity

          Hide
          Curt Arnold added a comment -

          Migrated updated PatternParser and CachedDateFormat from log4j. In addition to %d

          {...} {GMT}

          , also have longer more descriptive conversion patterns like %level now.

          Show
          Curt Arnold added a comment - Migrated updated PatternParser and CachedDateFormat from log4j. In addition to %d {...} {GMT} , also have longer more descriptive conversion patterns like %level now.

            People

            • Assignee:
              Curt Arnold
              Reporter:
              Curt Arnold
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development