Log4php
  1. Log4php
  2. LOG4PHP-103

Exception when using more than one LoggerAppenderFile

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.1.0
    • Component/s: Code
    • Labels:
      None

      Description

      When using more than one file appender in the log4php.properties, an Exception is thrown in LoggerAppenderFile::activateOptions.
      Apparently, the method is called when the fileName is not yet set.

        Activity

        Moritz Schmidt created issue -
        Moritz Schmidt made changes -
        Field Original Value New Value
        Attachment 0001-reset-array-pointer-before-looping-over-it-in-Logger.patch [ 12439218 ]
        Christian Grobmeier made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 2.1 [ 12313917 ]
        Resolution Fixed [ 1 ]
        Ivan Habunek made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Moritz Schmidt
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 0.5h
              0.5h
              Remaining:
              Remaining Estimate - 0.5h
              0.5h
              Logged:
              Time Spent - Not Specified
              Not Specified

                Development