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

Migrated network appenders to APR network IO

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.10.0
    • None
    • Appender
    • None
    • 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. apr1.patch
          27 kB
          Andreas Hartmann
        2. syslog-datagram.diff
          10 kB
          Andreas Hartmann

        Activity

          People

            andreas Andreas Hartmann
            andreas Andreas Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: