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

Rewrite LoggerAppenderSocket to use a layout

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.0
    • 2.2.0
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: