Log4cxx
  1. Log4cxx
  2. LOGCXX-184

Crash when log level set to 'inherited'

    Details

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

      Description

      If a logger level is set to 'inherited' in the log4cxx.properties file, a crash occurs when log4cxx::PropertyConfigurator::configure() or configureAndWatch() is called.

      Sample line in the properties file that causes the problem:
      log4j.logger.module1=inherited

        Activity

        Myles Bunbury created issue -
        Hide
        Curt Arnold added a comment -

        Due to LogLog.debug statement in PropertyConfigurator::parseLogger that did not anticipate logger->getLevel() to return null. Unit tests added and fixed in rev 581289.

        Show
        Curt Arnold added a comment - Due to LogLog.debug statement in PropertyConfigurator::parseLogger that did not anticipate logger->getLevel() to return null. Unit tests added and fixed in rev 581289.
        Curt Arnold made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development