Log4cxx
  1. Log4cxx
  2. LOGCXX-103

Much of CVS HEAD seems #if 0 out, especially ResourceBundle stuff

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 0.10.0
    • Fix Version/s: 0.10.0
    • Component/s: Configurator
    • Labels:
      None
    • Environment:
      Linux

      Description

      I'm trying to upgrade from 0.9.7 to CVS HEAD as per instructions. It seems as though the code for stuffing internationalizable files such as foo_en_US.properties into ResourceBundles is in progress and commented out. Are these catalog files supported in CVS HEAD – should I be usin a 0.9.8 tag? It also seems as though many regression tests are disabled. Please help as soon as possible, we are trying to port code to Solaris on tight deadline and had trouble with 0.9.7 and were hoping that the latest supported 0.9.8 candidate would help, but now it seems non-functional? For example my recursive grep (krs) returns the following:

      ~/loghead/log4cxx-cvshead-2005-09-08/logging-log4cxx> krs "#if 0"
      ./src/fixedwindowrollingpolicy.cpp:#if 0
      ./src/loader.cpp:#if 0
      ./src/loader.cpp:#if 0
      ./src/logger.cpp:#if 0
      ./src/logger.cpp:#if 0
      ./src/logger.cpp:#if 0
      ./src/loggingevent.cpp:#if 0
      ./src/loggingevent.cpp: #if 0
      ./src/loggingevent.cpp: #if 0
      ./src/loggingevent.cpp:#if 0
      ./src/ndc.cpp:#if 0
      ./src/resourcebundle.cpp:#if 0
      ./src/socketinputstream.cpp:#if 0
      ./src/syslogwriter.cpp:#if 0
      ./src/timebasedrollingpolicy.cpp:#if 0
      ./src/triggeringpolicy.cpp: #if 0
      ./tests/src/rolling/timebasedrollingtest.cpp:#if 0
      ./tests/src/rolling/timebasedrollingtest.cpp:#if 0

        Activity

        Hide
        Curt Arnold added a comment -

        Certain features (such as resource bundles) in 0.9.7 were disabled during reworking the character model to simultaneously support wchar_t and char* logging. The intent is to either restore the capabilities or make an explicit decision to drop the features, but those actions haven't reached the top of the queue. The core functionality of the CVS HEAD is substantially better than 0.9.7, but the CVS HEAD isn't feature equivalent.

        Show
        Curt Arnold added a comment - Certain features (such as resource bundles) in 0.9.7 were disabled during reworking the character model to simultaneously support wchar_t and char* logging. The intent is to either restore the capabilities or make an explicit decision to drop the features, but those actions haven't reached the top of the queue. The core functionality of the CVS HEAD is substantially better than 0.9.7, but the CVS HEAD isn't feature equivalent.
        Hide
        Curt Arnold added a comment -

        ResourceBundle stuff was added back in LOGCXX-125. RollingFileCompression was added back in LOGCXX-200. Socket and serialization stuff will be handled as part of LOGCXX-7.

        Committed some miscellaneous code clean up against this bug in rev 589906.

        Show
        Curt Arnold added a comment - ResourceBundle stuff was added back in LOGCXX-125 . RollingFileCompression was added back in LOGCXX-200 . Socket and serialization stuff will be handled as part of LOGCXX-7 . Committed some miscellaneous code clean up against this bug in rev 589906.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development