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

exception on logging long message to syslog

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

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

      Description

      An exception is raised by log4cxx when a very large message is logged using the SyslogAppender/SyslogWriter (other appenders/writers appear to "work" perfectly with large messages).

      The exception occurs if the message in question is too large to fit inside a UDP packet (the syslog protocol uses UDP).

      It would be better to split big messages up before sending them over the syslog protocol as per this similar log4j issue/fix - https://issues.apache.org/bugzilla/show_bug.cgi?id=42087 - rather than forcing log4cxx clients to restructure their program logic in order to avoid (or recover from) from this kind of rare logging exception.

        Attachments

          Activity

            People

            • Assignee:
              rmiddleton Robert Middleton
              Reporter:
              rhosyn Ben Hockley

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment