Uploaded image for project: 'Log4cxx'
  1. Log4cxx
  2. LOGCXX-102

PropertyConfigurator does not process the RollingFileAppender options

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.10.0
    • 0.13.0
    • Configurator
    • None

    Description

      Properties-file like the following are not processed by the PropertyConfigurator properly. The rollingPolicy and triggerPolicy are not created as configured.

      log4j.appender.FILE=RollingFileAppender
      log4j.appender.FILE.File=sample.log
      log4j.appender.FILE.rollingPolicy=FixedWindowRollingPolicy
      log4j.appender.FILE.rollingPolicy.MaxIndex=3
      log4j.appender.FILE.triggeringPolicy=SizeBasedTriggeringPolicy
      log4j.appender.FILE.triggeringPolicy.MaxFileSize=1MB

      Attachments

        1. propertyconfigurator.cpp.patch
          4 kB
          Kriz
        2. log4cxx-102.1.patch
          5 kB
          Peter Steiner

        Issue Links

          Activity

            People

              carnold@apache.org Curt Arnold
              chris75vie Kriz
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: