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

Rewrite LoggerAppenderSocket to use a layout

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.2.0
    • Component/s: Code

      Description

      Currently, the socket appender does not require a layout. The layout is internally configured by using the "useXml" option. If useXml is set to true, events are formatted as XML, and if set to false, they are serialized.

      A better solution would be to make LoggerAppenderSocket use a layout so the user can pick which layout to use the standard way.

      To keep all functionality, a new layout should be coded which outputs serialized event objects. This should be made default layout.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: