Uploaded image for project: 'Log4cxx'
  1. Log4cxx
  2. LOGCXX-80

Migrated network appenders to APR network IO

    Details

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

        Attachments

        1. syslog-datagram.diff
          10 kB
          Andreas Fester
        2. apr1.patch
          27 kB
          Andreas Fester

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: