Log4php
  1. Log4php
  2. LOG4PHP-154

Rewrite LoggerAppenderSocket to use a layout

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major 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.

        Issue Links

          Activity

          Ivan Habunek made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Gavin made changes -
          Link This issue depends upon LOG4PHP-155 [ LOG4PHP-155 ]
          Gavin made changes -
          Link This issue depends on LOG4PHP-155 [ LOG4PHP-155 ]
          Ivan Habunek made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 2.2 [ 12313918 ]
          Resolution Fixed [ 1 ]
          Ivan Habunek made changes -
          Link This issue depends on LOG4PHP-155 [ LOG4PHP-155 ]
          Ivan Habunek made changes -
          Field Original Value New Value
          Assignee Ivan Habunek [ juice ]
          Ivan Habunek created issue -

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development