Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-1865

Many Issues with SyslogAppender: Unable to Send Stack Traces Over SyslogAppender using TCP, AppenderComponentBuilder lacks LoggerFields

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.8.1
    • None
    • Appenders
    • SLF4J, java8

    Description

      -Not enough documentation on the appenders page. What is a LoggerField? Where are the keys used?
      -Unable to add LoggerFields to AppenderComponentBuilder
      -LoggerFields added to SyslogAppender.Builder result in any logged messages w/ throwables to turn into a single letter logged message such as "e" or "n"
      -Unable to receive in rsyslog using BSD format (only using RFC)
      -Using config file with TCP, same result as SyslogAppender.Builder, with loggerfields the message is replaced fully by "e" or "n"
      -Using config file with UDP, throwables are logged but new lines are printed instead of pre-processed: test#012java.lang.Throwable#012#011at main(main.java:5) [main.jar:?]#012

      http://stackoverflow.com/questions/43173816/doesnt-seem-to-be-a-way-to-send-full-stack-traces-over-syslogappender-in-log4j2

      I will have to find an alternative logging until this is fixed in log4j2. Remote logging is very important in my application as a stand-alone feature.

      Attachments

        Activity

          People

            Unassigned Unassigned
            aaaaaaaa aaaaaaaa
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 48h
                48h
                Remaining:
                Remaining Estimate - 48h
                48h
                Logged:
                Time Spent - Not Specified
                Not Specified