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

PropertyConfigurator does not process the RollingFileAppender options

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment