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

XMLSocketAppender may generate erroneous output due to mismatched encoding

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.7
    • Fix Version/s: 0.10.0
    • Component/s: Appender
    • Labels:
      None

      Description

      XMLSocketAppender in both 0.9.7 and 0.10.0 encode their output in the current default encoding. In the absence of an specified encoding in the XML declaration, a mismatch between the expected encoding (UTF-8) and actual encoding may result in non-well-formed XML content or otherwise corrupted XML content. The XMLSocketAppender does not appear to have an analog in log4j. It may be desirable to modify log4j's SocketAppender to support both Java serialization and XML encoding and then make log4cxx match the enhanced SocketAppender.

        Attachments

          Activity

            People

            • Assignee:
              carnold@apache.org Curt Arnold
              Reporter:
              carnold@apache.org Curt Arnold
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: