Log4cxx
  1. Log4cxx
  2. LOGCXX-249

ConsoleAppender crashes if layout is not set

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.10.0
    • Fix Version/s: 0.11.0
    • Component/s: Appender
    • Labels:
      None

      Description

      On Mar 6, 2008, at 4:27 PM, Dale King wrote on log4cxx-user:

      I built using visual studio and ran into a couple of problems to report.
      ...

      I used a properties file and configured a ConsoleAppender but did not
      set the layout for it. Instead of nicely handling it, it crashed the
      application. Probably should fail more gracefully.


      Dale King

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        102d 4h 18m 1 Curt Arnold 18/Jun/08 23:19
        Curt Arnold made changes -
        Field Original Value New Value
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 0.10.1 [ 12313090 ]
        Hide
        Curt Arnold added a comment -

        WriterAppender::checkEntryConditions was missing a check for layout == 0 that was in log4j.

        Committed rev 669316.

        Show
        Curt Arnold added a comment - WriterAppender::checkEntryConditions was missing a check for layout == 0 that was in log4j. Committed rev 669316.
        Curt Arnold created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development