Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.8.1
-
None
-
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
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.