Uploaded image for project: 'Log4php'
  1. Log4php
  2. LOG4PHP-160

Appeneders should use a default layout is no layout is specified in configuration

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.2.0
    • None
    • None

    Description

      Currently, if an appender which requires a layout is specified without layout, it will silently fail to log anything.
      e.g.: <appender name="default" class="LoggerAppenderEcho" />

      It would be better if the appender would automatically be configured with a default layout (e.g. LoggerLayoutSimple).

      Attachments

        1. defaultLayout.patch
          3 kB
          Florian Semm

        Activity

          People

            juice Ivan Habunek
            juice Ivan Habunek
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: