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

exception on logging long message to syslog

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.10.0
    • None
    • Appender
    • None
    • 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

        Issue Links

          Activity

            People

              rmiddleton Robert Middleton
              rhosyn Ben Hockley
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: