Log4cxx
  1. Log4cxx
  2. LOGCXX-80

Migrated network appenders to APR network IO

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.10.0
    • Fix Version/s: None
    • Component/s: Appender
    • Labels:
      None
    • Environment:
      Debian GNU/Linux 3.1

      Description

      This patch fixes the following issues:

      • Fix for bug LOGCXX-64: Network related appenders should be migrated to Apache Portable Runtime network io methods.
        Exception handling was improved to allow better output of error text.
      • Fixed TelnetAppender. Main loop now works again. Fixed garbage collection for closed client connections.
        Appender uses new SocketOutputStream::writeRaw() to suppress writing the length of the string before the string itself is written.
      • Minor bugfix in loglog.cpp: Output of internal logging should be prefixed with "log4cxx:" (according to the documentation)
      • The second patch fixes the syslogwriter and migrates the datagramsocket to APR.
      1. syslog-datagram.diff
        10 kB
        Andreas Fester
      2. apr1.patch
        27 kB
        Andreas Fester

        Activity

        Andreas Fester created issue -
        Andreas Fester made changes -
        Field Original Value New Value
        Attachment apr1.patch [ 19809 ]
        Andreas Fester made changes -
        Description This patch fixes the following issues:

        - Fix for bug LOGCXX-64: Network related appenders should be migrated to Apache Portable Runtime network io methods.
        - Fixed TelnetAppender. Main loop now works again. Fixed garbage collection for closed client connections.
        - Minor bugfix in loglog.cpp: Output of internal logging should be prefixed with log4cxx: (according to the documentation)
        This patch fixes the following issues:

        - Fix for bug LOGCXX-64: Network related appenders should be migrated to Apache Portable Runtime network io methods.
        Exception handling was improved to allow better output of error text.
        - Fixed TelnetAppender. Main loop now works again. Fixed garbage collection for closed client connections.
        Appender uses new SocketOutputStream::writeRaw() to suppress writing the length of the string before the string itself is written.
        - Minor bugfix in loglog.cpp: Output of internal logging should be prefixed with "log4cxx:" (according to the documentation)
        Curt Arnold made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Andreas Fester made changes -
        Attachment syslog-datagram.diff [ 12311469 ]
        Andreas Fester made changes -
        Description This patch fixes the following issues:

        - Fix for bug LOGCXX-64: Network related appenders should be migrated to Apache Portable Runtime network io methods.
        Exception handling was improved to allow better output of error text.
        - Fixed TelnetAppender. Main loop now works again. Fixed garbage collection for closed client connections.
        Appender uses new SocketOutputStream::writeRaw() to suppress writing the length of the string before the string itself is written.
        - Minor bugfix in loglog.cpp: Output of internal logging should be prefixed with "log4cxx:" (according to the documentation)
        This patch fixes the following issues:

        - Fix for bug LOGCXX-64: Network related appenders should be migrated to Apache Portable Runtime network io methods.
        Exception handling was improved to allow better output of error text.
        - Fixed TelnetAppender. Main loop now works again. Fixed garbage collection for closed client connections.
        Appender uses new SocketOutputStream::writeRaw() to suppress writing the length of the string before the string itself is written.
        - Minor bugfix in loglog.cpp: Output of internal logging should be prefixed with "log4cxx:" (according to the documentation)
        - The second patch fixes the syslogwriter and migrates the datagramsocket to APR.
        Andreas Fester made changes -
        Assignee Curt Arnold [ carnold@apache.org ] Andreas Fester [ andreas ]
        Andreas Fester made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Andreas Fester
            Reporter:
            Andreas Fester
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development