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

XMLSocketAppender is disabled

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.10.0
    • 0.10.0
    • Appender
    • None

    Description

      XMLSocketAppender had the statement that actually sent the formatted event to the socket commented out from the earlier Unicode rework. In the original code, Microsoft Platform SDK conversion macro T2A was used to convert from TCHAR to the current code page before sending the content to the socket. The associated patch restores the functionality by using the LOG4CXX_ENCODE_CHAR macro which does effectively the same thing. Neither is correct however since it would use the current code page instead of UTF-8 which would be what an XML parser would expect, but that is another bug.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: